Kodi Community Forum
Picture Thumbnail issues (portrait orientation) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Picture Thumbnail issues (portrait orientation) (/showthread.php?tid=181689)



Picture Thumbnail issues (portrait orientation) - doug - 2013-12-30

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


RE: Picture Thumbnail issues (portrait orientation) - popcornmix - 2013-12-30

Possibly your camera is using XMP. See:
http://forum.stmlabs.com/showthread.php?tid=11758


RE: Picture Thumbnail issues (portrait orientation) - doug - 2013-12-30

(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


RE: Picture Thumbnail issues (portrait orientation) - popcornmix - 2013-12-30

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.


RE: Picture Thumbnail issues (portrait orientation) - doug - 2013-12-30

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


RE: Picture Thumbnail issues (portrait orientation) - popcornmix - 2013-12-31

(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.


RE: Picture Thumbnail issues (portrait orientation) - popcornmix - 2013-12-31

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/commit/f1adf733121bd2a9492757e29b4e1e58b43c763e


RE: Picture Thumbnail issues (portrait orientation) - doug - 2013-12-31

Thank you so much for all you've done for xbmc on the Raspberry Pi.


RE: Picture Thumbnail issues (portrait orientation) - popcornmix - 2013-12-31

This fix is in this (gotham) test build:
http://forum.xbmc.org/showthread.php?tid=169674&pid=1585856#pid1585856