Closed Cotywio closed 1 year ago
Hi @Cotywio, correct picture rotation is an immich feature.
Not sure what is wrong with the .dng
file but here is what I see when open the file in image viewer on PopOS! (Ubuntu derivative)
So the file resolution is correctly extracted from the App standpoint.
We fixed the issue with the orientation in #547
Hey @alextran1502, awesome! Glad to hear about the orientation. And agreed its very strange. When I open it in Windows I get the same, but using exif tool 12.44 I get a different result. (as well as in Google Photos and iOS Photos)
After small insight, I found that the problem come from our libraries exifr
and sharp
. I have also tried on 2 other libs (exiftool
and exiv2
) and both gave good results. I think this issue may be fixed with https://github.com/immich-app/immich/issues/232 once we have selected the appropriate library for reading and writing exif data.
Please check again if the issue still persists as we have moved to exiftool. @Cotywio
Fixed! Thank you for your great work!
Describe the bug DNG's from Google Pixel 6 Pro show the incorrect dimensions, orient incorrectly.
To Reproduce Steps to reproduce the behavior:
System
Android 13
1.26.0
1.26.0 build.36
Additional context When viewing the images from the Android app they are flipped, however when viewing from a browser or via the iOS app they are shown in the correct orientation.
I've included the JPG/DNG and docker-compose/.env in the zip below: PXL_20220411_005152876.zip