07055b5e25
Orientation information is sometimes stored in the SubIFD section of EXIF, so read that. This is just a matter of searching for the SubIFD offset value in the EXIF tags and then parsing the values from there onwards. The data format is the same as the EXIF data. The images are not under any copyright as I made them up locally specifically for these tests. Bug: skia:10799 Change-Id: I5384ffc1c4a9a0c7d3fc8510ef4da2f278cb8b97 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323217 Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
23 KiB
23 KiB