Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27774] Android: Ti.Blob.imageAsResized() not working for JPEG with exif rotation as of 8.1.0

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-05-05T14:21:16.000+0000
Affected Version/sRelease 8.1.0
Fix Version/sRelease 9.0.2
ComponentsAndroid
Labelsandroid, blob, camera, image, photo, regression, resize
ReporterMichael Gangolf
AssigneeJoshua Quick
Created2020-02-19T21:09:27.000+0000
Updated2020-05-05T14:21:16.000+0000

Description

Comments

  1. Michael Gangolf 2020-02-20

    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.
  2. Michael Gangolf 2020-02-20

    PR: https://github.com/appcelerator/titanium_mobile/pull/11488
  3. Joshua Quick 2020-02-20

    [~michael], so this has been an issue since Titanium 8.1.0 then?
  4. Michael Gangolf 2020-02-20

    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
  5. Samir Mohammed 2020-04-28

    FR Passed, waiting for Jenkins on Master and waiting for a 9_0_X backport.
  6. Joshua Quick 2020-04-28

    PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11667
  7. Christopher Williams 2020-04-29

    merged to master for 9.1.0 target and 9_0_X for 9.0.2 target
  8. Samir Mohammed 2020-05-05

    *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

JSON Source