jdhao.github.io icon indicating copy to clipboard operation
jdhao.github.io copied to clipboard

2019/07/31/image_rotation_exif_info/

Open utterances-bot opened this issue 3 years ago • 5 comments

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/

utterances-bot avatar Feb 24 '22 15:02 utterances-bot

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)

mmclean2022 avatar Feb 24 '22 15:02 mmclean2022

I used to be able to find good info from your blog posts. thank you.

RaushniGupta avatar Sep 05 '22 11:09 RaushniGupta

Thanks for the information provided! Maintain the good performance of your site.

devendrpharswan avatar Sep 30 '22 10:09 devendrpharswan

Do not spam the comment with direction to your site.

jdhao avatar Nov 12 '22 10:11 jdhao

Great article, thank you!

jkclark avatar Oct 03 '23 18:10 jkclark