CrOS media-app: Splice in a minimal EXIF header to capture RAW rotations.
The PiexLoader module used for loading RAW image types in chrome://media-app returns the JPEG "preview", with an orientation field from the Exif data embedded in the RAW file headers separate. Currently, chrome://media-app ignores this orientation. To fix, "splice" in a minimal Exif header at the front of the returned JPEG data in the RAW loading codepath. Bug: 1030935, b/169717921 Change-Id: Ie5454736078d6ece854318b5f6142d7ee42f187b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500684 Commit-Queue: Trent Apted <tapted@chromium.org> Reviewed-by:Bugs Nash <bugsnash@chromium.org> Cr-Commit-Position: refs/heads/master@{#821108}
Showing
Please register or sign in to comment