Jump to content

Photo LIbrary Folder Thumbnails are Upside Down


Recommended Posts

Posted

I finally got round to upgrading to 3.2.36, and the problem is still there. Is it possible that the generated thumbnails are simply missing the EXIF orientation of the original?

 

What operating system are you on?

Posted

FreeNAS 11.0

 

What format images?

Posted

Luke,

 

Of these three files:

$ ls -l
total 3204
-rwxr-xr-x 1 srhaque srhaque 2734689 Sep 30 10:12 20170930_101251.jpg
-rw-rw-r-- 1 srhaque srhaque  503511 Dec 11 20:37 full.jpg
-rw-rw-r-- 1 srhaque srhaque   29113 Dec 10 22:21 thumb.jpg

they are, in decreasing size order: the original from my camera, and then the full image and the thumbnail as served to Firefox by Emby. The file formats are:

$ file *
20170930_101251.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=11, manufacturer=samsung, model=SM-G930F, orientation=lower-right, xresolution=146, yresolution=154, resolutionunit=2, software=G930FXXS1DQHF, datetime=2017:09:30 10:12:50, GPS-Data], baseline, precision 8, 2880x2160, frames 3
full.jpg:            JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, baseline, precision 8, 1600x1200, frames 3
thumb.jpg:           JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, baseline, precision 8, 300x225, frames 3

I notice that the original has in EXIF "orientation=lower-right", which seems to have been taken into account when generating full.jpg, but not when generating thumb.jpg.

 

Thanks, Shaheed

Posted

So you're saying it worked fine on one image, but not the other two?

Posted

No, they are all the same image:

  • 20170930_101251.jpg: the original from my camera, contains EXIF rotation instructions
  • full.jpg: Full version served by Emby to my browser, rotated correctly as per EXIF in original.
  • thumb.jpg: Thumbnail served by Emby to my browser, upside down (i.e.not rotated according to EXIF in original).

Hopefully that is clear?

Posted

Yea i can reproduce but it seems to be because our graphics library isn't detecting the orientation, therefore no rotation is being applied. I may end up just having to report this on their issue tracker.

 

Hi @@Luke, Any update on this? I do not see anything in the beta release notes to indicate that this issue has been resolved.

 

Thanks

Posted

Hi @@Luke, Any update on this? I do not see anything in the beta release notes to indicate that this issue has been resolved.

 

Thanks

 

It's not going to happen immediately. I am going to have to report this to SkiaSharp:

https://github.com/mono/SkiaSharp

 

And wait for a resolution. Thanks.

Posted

No, they are all the same image:

  • 20170930_101251.jpg: the original from my camera, contains EXIF rotation instructions
  • full.jpg: Full version served by Emby to my browser, rotated correctly as per EXIF in original.
  • thumb.jpg: Thumbnail served by Emby to my browser, upside down (i.e.not rotated according to EXIF in original).

Hopefully that is clear?

 

Can you zip up a sample image? thanks.

  • 2 weeks later...
Posted

Hi Luke,

 

Were you able to report the issue upstream? Any update would be great.

 

Thanks

  • 2 weeks later...
Posted

@@Luke, understand that the fix may take time but was the issue reported upstream? Can I follow it on github?

  • 3 years later...
Posted

Hi

I dont know when exactly but an update of Emby on my Mac makes photos look upside down. In finder, the orientation is fine. Any ideas?

52C68AB8-5F72-4E39-94F3-5520F1F3403D.jpeg

Carlo
Posted (edited)

Hi, Did someone take pics with the phone upside down?

Edited by cayars
Posted

No. In finder as well on the phone the orientation of the pics are correct.

Carlo
Posted

My guess would be the pics have metadata embedded that tell the app to re-orient 180 degrees.
I don't believe Emby will re-orient pics (yet).

Posted

I think that it is the „live“ feature of pics on iPhone. In fact that are very short movies. These are shown in wrong direction. Other pictures taken without „live“ seem to be o.k.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...