[AC-2141] App crashes when .toImage() is called on an imageView with a jpg in android
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2013-03-05T23:56:58.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | 2.2.0, android, crash, jpeg, toImage |
| Reporter | Trevor Borgmeier |
| Assignee | Shak Hossain |
| Created | 2012-08-14T22:18:17.000+0000 |
| Updated | 2016-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.
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