Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2141] App crashes when .toImage() is called on an imageView with a jpg in android

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-03-05T23:56:58.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels2.2.0, android, crash, jpeg, toImage
ReporterTrevor Borgmeier
AssigneeShak Hossain
Created2012-08-14T22:18:17.000+0000
Updated2016-03-08T07:41:07.000+0000

Description

I'm taking an imageView and performing a .toImage() on it in order to get the images dimensions. It continues to work on iOS, but on android it fails when the imageView uses a jpeg image. It seems to work with PNG files.

Comments

  1. Jamie Buckley 2013-03-05

    Hi Trevor, Can you provide some further information so that we can work on verifying this issue. - Titanium SDK version - Titanium Studio version - Operating System Can you also provide a small reproducible test case that will allow us to test this. Thanks, Jamie

JSON Source