jdhao.github.io
jdhao.github.io copied to clipboard
2019/07/31/image_rotation_exif_info/
JPEG Image Orientation and Exif - jdhao's blog
The other day I came across a strange bug during work. My colleagues gave me some photographs taken with a smartphone. On their machines (Windows 7), all the photos were shown correctly in landscape mode. However, when I checked those photos, I found that some of those photos were shown in portrait mode (rotated 90 or 270 degrees) or upside-down (rotated 180 degrees). I was curious what happened and learned about Exif and all its related stuff.
https://jdhao.github.io/2019/07/31/image_rotation_exif_info/
I found another key that needed to be 'tweaked' on ONE out of several photos that I scanned from slides: exif:DigitalZoomRatio needs to be a Rational, and since I didn't care about the value I set exif_dict = ['Exif'][41988] = (00,00)
I used to be able to find good info from your blog posts. thank you.
Thanks for the information provided! Maintain the good performance of your site.
Do not spam the comment with direction to your site.
Great article, thank you!