I'm building a web app that shows pictures. Most of the pictures were taken by smart phones and have EXIF rotation information. I'm exposing a url which return the image blob without modification.
I've notice that when I put this url in img tag Chrome does not respect the EXIF orientation data but when I put the url in chrome address bar it show a page with the image and then it does respect the EXIF orientation.
Sorry I can't share the image, I'll try to find another example that I can share.
Has anyone notice this problem?
iMazing HEIC Converter
or similar tool to convert your images, sent from iOS device, be sure to uncheckKeep EXIF data
, so your picture is not flipped afterwards when trying to view in chrome(e.g. during upload). You can see difference inGet info
for selected image, it should contain more data, when persisting EXIF data. – Alexey Vorobyov