PDA

View Full Version : JPG rotation bug


clutch
2006-09-02, 01:32
I have dozens of family photos running as screensaver on your latest build (great feature!).

The pics that are taken through rotating my camera, I rotate back using ACDSee Classic v2.44 (it's very fast and can rotate e.g. clockwise many pictures at once). The pictures work 100% fine in all programs like mspaint, adobe and firefox etc...

However, I discovered that XBMC flipped the pics back to original rotation, which pretty much makes it hard for me to look at some pictures :)

The bug has been confirmed by several users at #XBMC Efnet.

I've uploaded an example picture at
http://home.c2i.net/ffffffffff/xbmc_error.jpg (fire detector at ceiling, which should be at the TOP of the picture :) ).

As you might confirm, the picture is not displayed correctly at xbmc.

jmarshall
2006-09-02, 05:26
It simple. Your rotation program doesn't alter the EXIF rotation flag like it should.

XBMC treats the EXIF information as the truth (which it is, unless you rotate it using a program that doesn't update the EXIF information!).

The only thing I can suggest is that a setting is added to turn off this (correct) behaviour.

Cheers,
Jonathan

clutch
2006-09-02, 09:47
yeah this setting would have been great! However I find it strange that other programs do NOT have this bug, even if they are rotated in ACDSEE.

I've allready looked for such a setting and I did not find it :(

Maybe a programmer could make one for us?

jmarshall
2006-09-02, 13:19
Many programs disregard the rotation tag for this exact reason - because it's not reliable once the photo has been editted. It is 100% reliable for uneditted photos (although some photo software also incorrectly handles it on importing from a digital camera, so sometimes you can't win either way!)

Will add an option to disable this rotation (assuming it's easy).

EDIT: In fact, it's not trivial to add this. Instead, I'll add an alternate dll file (replacing system/ImageLib.dll) to CVS.

Cheers,
Jonathan

clutch
2006-09-02, 15:17
uh. how do i get that dll? i use the t3ch compiled release. if you add it as a separate dll it's pretty hard for me to get it

sollie
2006-09-02, 17:17
http://xbmc.cvs.sourceforge.net/xbmc/XBMC/system/

Wait!

jmarshall
2006-09-03, 03:26
Fix is in CVS. You need a new xbe. There is a new dll as well, but it won't affect your case (as it only alters the thumbnails, and your images already have the correct thumbnail orientation as they have EXIF images).

Cheers,
Jonathan