Picture Thumbnail issues (portrait orientation)
#1
Hi, Dom.
Thanks for fixing that earlier issue with Picture thumbnails. Here's another one I'm seeing from an OpenELEC build made last night.

The EXIF information is usually (almost always) ignored when generating thumbnails in portrait orientation.

Also, sometimes the thumbnails generated for a portrait orientation photo are garbled. (DSC_0782.JPG and DSC_0779.JPG are examples in my log).

I see several of these errors in my log:
08:24:20 T:2676036688 INFO: msg: ExifParse: incorrect Exif header
These didn't appear in Frodo and the cameras (Nikon and Canon) taking the photos are the same as before

xbmc.log

Thanks!

Doug
Reply
#2
Possibly your camera is using XMP. See:
http://forum.stmlabs.com/showthread.php?tid=11758
Reply
#3
(2013-12-30, 17:58)popcornmix Wrote: Possibly your camera is using XMP. See:
http://forum.stmlabs.com/showthread.php?tid=11758

No, the cameras use EXIF (Nikon D3100, for example). Also, it's orientation during thumbnail generation that isn't working; slide show mode works fine (the problem in the link referenced is that orientation in slide show mode isn't working)

Doug
Reply
#4
If you have a JPG file that is not behaving correctly, then send me (a link to) the file, and explain what you do in xbmc to get the bad behaviour.
Reply
#5
The PM has 4 photos from 4 different cameras.

I have these photos in a simple folder structure such as /exports/drive/pictures/Year/Month/picture.jpg. They are located on a Ubuntu server and accessed through NFS. The problem exists just by generating the thumbnail the first time or by regenerating the thumbs from the context menu.

Also, I checked with a recent Windows nightly and the thumbs orient correctly.

Doug
Reply
#6
(2013-12-30, 23:48)doug Wrote: I have these photos in a simple folder structure such as /exports/drive/pictures/Year/Month/picture.jpg. They are located on a Ubuntu server and accessed through NFS. The problem exists just by generating the thumbnail the first time or by regenerating the thumbs from the context menu.

I can reproduce the problem. The photos are correctly oriented when viewed fullscreen, but the thumbnails ignore the orientation flag.
I'll have a look.
Reply
#7
I've pushed a fix to newclock3 branch, so it should appear in test builds soon (and stable builds eventually).
https://github.com/popcornmix/xbmc/commi...58b43c763e
Reply
#8
Thank you so much for all you've done for xbmc on the Raspberry Pi.
Reply
#9
This fix is in this (gotham) test build:
http://forum.xbmc.org/showthread.php?tid...pid1585856
Reply

Logout Mark Read Team Forum Stats Members Help
Picture Thumbnail issues (portrait orientation)0