nagyistoce / xee

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

Finder shows wrong thumbnail for a rotated and saved losslessly JPG #213

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a JPG with 'wrong' orientation (let say a portrait subject on a
landscape frame)
2. Rotate it 90 degrees
3. Save it losslessly (cmd-S)

What is the expected output? What do you see instead?
Finder should refresh the window to show the new thumbnail (everything
rotated).
Finder refreshes the thumbnail but it shows just the new oriented frame,
the subject is still "lying" (See attached screenshot)

What version of the product are you using? On what operating system?
Xee 2.1.1 on OSX 10.6.2

Please provide any additional information below.
Just did some research on internet and found that it could be an EXIF data
issue, so I found 'jhead' utility and started to play with it.
I didn't understand if it is true for every JPG, but it looks there is an
embedded thumbnail that jhead can delete (-dt) or regenerate (-rgt).
So, just removing the thumbnail from the EXIF data (and saving about 10KB),
Finder shows the right preview.

Original issue reported on code.google.com by rigid...@gmail.com on 24 Jan 2010 at 10:50

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 222 has been merged into this issue.

Original comment by paracel...@gmail.com on 4 Apr 2010 at 12:58

GoogleCodeExporter commented 9 years ago
Same problem for me with xee 2.1.1 on OSX 10.6.4.

when the pictures is opened, i use cmd-r to rotate the pic then cmd-s to save 
it.
but the pic still appears in the wrong orientation in the finder.
if i open the pic again, it has rotate well.
I believe the explanation above is correct.

Original comment by zephyrk...@gmail.com on 8 Jul 2010 at 12:31

GoogleCodeExporter commented 9 years ago
It seems the method Xee used to generate a new, correct thumbnail stopped 
working under Snow Leopard for mysterious reasons. I couldn't figure out why, 
but I found a simpler way to do it that does work correctly both under Snow 
Leopard and older OSes, so I just changed to that, and it works as expected 
again.

Original comment by paracel...@gmail.com on 11 Apr 2011 at 11:03