tsuzu / xld

Automatically exported from code.google.com/p/xld
0 stars 0 forks source link

Support EXIF orientation tag #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add cover art with (for example) 500x450 pixels
2. Preview shows cover art turned counter clockwise one step
3.

How about the reproducibility (always, sometimes, rarely, ...)?
Always

What is the expected output? What do you see instead?
Non-turned cover art image

What version of the product are you using? On what operating system?
Version 20130602 (143.2) on Mac OS X 10.8.4

Please provide any additional information below.
I noticed that when I add a cover art image to a CD I want to rip which is not 
square (i.e. 500x500 for example) it will turn the image counter clockwise one 
step.
The option to Scale large images when embedding cover art is turned off, but 
even enabled it doesn't solve the problem.

I have attached a screenshot of XLD showing the problem.

Original issue reported on code.google.com by tomweust on 9 Jun 2013 at 11:27

Attachments:

GoogleCodeExporter commented 9 years ago
Cannot confirm. Can you upload the cover image file?

Original comment by tmkkmac on 9 Jun 2013 at 11:45

GoogleCodeExporter commented 9 years ago
Here it is. I have several of the same sort, part of a compilation.
All in 500x450 pixel resolution.

Original comment by tomweust on 9 Jun 2013 at 1:37

Attachments:

GoogleCodeExporter commented 9 years ago
Odd, even the preview here shows it wrong, even though Finder preview and 
Preview self show it right, as does a rip I did with Phile Audio a while back.

Original comment by tomweust on 9 Jun 2013 at 1:38

GoogleCodeExporter commented 9 years ago
The image has an EXIF tag to rotate the image. Aspect ratio is not a cause of 
this problem.

Original comment by tmkkmac on 9 Jun 2013 at 1:52

GoogleCodeExporter commented 9 years ago
Ah, alright. That explains it. Weird tag to have though...

At least it's not a bug, I just need to look up how to alter that EXIF tag then.

Thanks for the quick reply!

Original comment by tomweust on 9 Jun 2013 at 4:41

GoogleCodeExporter commented 9 years ago
Well, the original image is rotated. EXIF tag fixes it.

Original comment by tmkkmac on 9 Jun 2013 at 4:45

GoogleCodeExporter commented 9 years ago
The original was indeed, because of the way I scanned it.
But rotated it with Preview, and some other editing.

What moron made up this tag???
Just tried a freeware tool to edit the file I uploaded here, but no luck so far.
Will figure it out eventually, just damn annoying.

Why does XLD use EXIF tags anyway? Isn't the whole purpose of adding a cover 
art image to have a cover art image, and nothing more?
Or is it due to some library that is used?

Original comment by tomweust on 9 Jun 2013 at 6:42

GoogleCodeExporter commented 9 years ago
Again, the image you uploaded is already rotated without EXIF tag (as you can 
see here). Finder or Preview.app does read EXIF tag and fixes the rotation, but 
XLD (and webbrowser) doesn't.

Original comment by tmkkmac on 9 Jun 2013 at 6:50

GoogleCodeExporter commented 9 years ago
I had a cousin of mine, who does a lot with photography, edit the tags in 
Lightroom.
Saved me loads of time :-)

Original comment by tomweust on 9 Jun 2013 at 7:29

GoogleCodeExporter commented 9 years ago
Supported in the latest version.

Original comment by tmkkmac on 20 Jul 2013 at 3:02

GoogleCodeExporter commented 9 years ago
I just had a CD ripped for which I had a cover as the one mentioned in this 
topic.
Same EXIF rotate tag.

If the new version is supposed to rotate the the image so it shows correct in 
any player, it's doesn't work for iTunes on my Mac.

Or am I misunderstanding the support for the tag here?

Original comment by tomweust on 24 Jul 2013 at 8:34

GoogleCodeExporter commented 9 years ago
I guess you turn off the image resizing option in XLD.

If XLD doesn't resize an image, the original image (with orientation tag) is 
embedded to output files. So it depends on a player whether it is shown 
properly.

As far as I've tested Finder does, but iTunes doesn't.

Original comment by tmkkmac on 25 Jul 2013 at 4:46

GoogleCodeExporter commented 9 years ago
Yes, I have it turned off. I wasn't aware the rotate would be part of the 
resize option.
Thought it program just detected and rotated accordingly.

I will have a go at it again.
Thanks.

Original comment by tomweust on 25 Jul 2013 at 6:42