[TIMOB-27774] Android: Ti.Blob.imageAsResized() not working for JPEG with exif rotation as of 8.1.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-05-05T14:21:16.000+0000 |
Affected Version/s | Release 8.1.0 |
Fix Version/s | Release 9.0.2 |
Components | Android |
Labels | android, blob, camera, image, photo, regression, resize |
Reporter | Michael Gangolf |
Assignee | Joshua Quick |
Created | 2020-02-19T21:09:27.000+0000 |
Updated | 2020-05-05T14:21:16.000+0000 |
The postScale was accidentally removed in this PR: https://github.com/appcelerator/titanium_mobile/pull/10380/files#diff-c992568de27d56f20574e577d355a2c7L759 If I add it again the resize function is working fine.
PR: https://github.com/appcelerator/titanium_mobile/pull/11488
[~michael], so this has been an issue since Titanium 8.1.0 then?
I pretty sure, yes. But only for images that have a rotation (e.g. from a camera if portrait mode is rotation 90, like on my Pixel phone). Couldn't test 8.0.0 with my current setup, but the line was remove in my PR for 8.1.0
FR Passed, waiting for Jenkins on Master and waiting for a 9_0_X backport.
PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11667
merged to master for 9.1.0 target and 9_0_X for 9.0.2 target
*Closing ticket.* Fix verified in SDK version 9.1.0.v20200504090422 and 9.0.2.v20200504063604 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/11488 PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11667