skia2/resources/images
Matthew Leibowitz 07055b5e25 Parse out the orientation in the SubIFD of EXIF
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>
2020-10-12 13:50:27 +00:00
..
orientation Parse out the orientation in the SubIFD of EXIF 2020-10-12 13:50:27 +00:00
1x1.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
1x3.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
1x16.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
2x2.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
3x1.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
3x3.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
16x1.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
alphabetAnim.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
arrow.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
b78329453.jpeg Update libjpeg-turbo to pre-2.0.0 (from 1.5.3) 2018-06-26 15:22:12 +00:00
baby_tux.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
baby_tux.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
blendBG.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
box.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
brickwork_normal-map.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
brickwork-texture.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
cmyk_yellow_224_224_32.jpg Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
CMYK.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
color_wheel_with_profile.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
color_wheel.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
color_wheel.ico resources: orgainize directory. 2017-12-08 17:16:00 +00:00
color_wheel.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
color_wheel.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
color_wheel.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
colorTables.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
crbug807324.png Support pngs with incorrect CMF bytes 2018-02-28 21:46:03 +00:00
cropped_mandrill.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
dng_with_preview.dng resources: orgainize directory. 2017-12-08 17:16:00 +00:00
dog.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
ducky.jpg move ducky images into images 2020-03-25 12:19:56 +00:00
ducky.png move ducky images into images 2020-03-25 12:19:56 +00:00
example_1.png Revert "Revert "Compile all fiddle examples locally"" 2019-03-16 00:48:09 +00:00
example_2.png Revert "Revert "Compile all fiddle examples locally"" 2019-03-16 00:48:09 +00:00
example_3.png Revert "Revert "Compile all fiddle examples locally"" 2019-03-16 00:48:09 +00:00
example_4.png Revert "Revert "Compile all fiddle examples locally"" 2019-03-16 00:48:09 +00:00
example_5.png Revert "Revert "Compile all fiddle examples locally"" 2019-03-16 00:48:09 +00:00
example_6.png Revert "Revert "Compile all fiddle examples locally"" 2019-03-16 00:48:09 +00:00
exif-orientation-2-ur.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
explosion_sprites.png Experimental Particle System 2019-02-12 18:53:41 +00:00
flightAnim.gif [skottie] Multi-frame image support 2018-10-03 19:02:35 +00:00
flower-bc1.dds Add SW decode of ETC1 and a GM 2020-02-03 13:56:15 +00:00
flower-etc1.ktx Add SW decode of ETC1 and a GM 2020-02-03 13:56:15 +00:00
flutter_logo.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
gamut.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
gif-transparent-index.gif Have SkWuffsCodec use PIXEL_BLEND__SRC_OVER 2020-10-05 18:24:48 +00:00
google_chrome.ico resources: orgainize directory. 2017-12-08 17:16:00 +00:00
grayscale.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
grayscale.png Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
half-transparent-white-pixel.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
half-transparent-white-pixel.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
icc-v2-gbr.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
iconstrip.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
index8.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
lut_identity.png Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
lut_sepia.png Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
mandrill_16.png Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
mandrill_32.png Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
mandrill_64.png Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
mandrill_128.png Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
mandrill_256.png Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
mandrill_512_q075.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
mandrill_512.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
mandrill_cmyk.jpg Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
mandrill_h1v1.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
mandrill_h2v1.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
mandrill_sepia.png Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
mandrill.wbmp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
out-of-palette.gif Test a GIF with an out of range transparent index 2018-10-12 14:20:02 +00:00
plane_interlaced.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
plane.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
purple-displayprofile.png Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
rainbow-gradient.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixels.bmp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixels.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixels.jpg resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixels.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixels.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixelsAnim2.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixelsAnim.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
randPixelsOffset.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
required.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
required.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
rle.bmp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
sample_1mp_rotated.dng resources: orgainize directory. 2017-12-08 17:16:00 +00:00
sample_1mp.dng resources: orgainize directory. 2017-12-08 17:16:00 +00:00
shadowreference.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
ship.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
test640x479.gif resources: orgainize directory. 2017-12-08 17:16:00 +00:00
text.png Initial version of rescaling async readback API 2019-05-17 16:39:10 +00:00
webp-animated.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
webp-color-profile-crash.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
webp-color-profile-lossless.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
webp-color-profile-lossy-alpha.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
webp-color-profile-lossy.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
wide_gamut_yellow_224_224_64.jpeg Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
wide-gamut.png Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
yellow_rose.png resources: orgainize directory. 2017-12-08 17:16:00 +00:00
yellow_rose.webp resources: orgainize directory. 2017-12-08 17:16:00 +00:00