On Thu, Oct 23, 2014 at 08:32:57PM +0200, Stéphane Aulery wrote:
> retitle 609013 Rotate 90 ° clockwise impossible for this photo (exiftran, 
> jpegtran, gthumb)
> clone 609013 -1
> reassign 609013 libjpeg9 1:9a-2
> found 609013 8b-1
> reassign -1 libjpeg8 8d1-2
> found -1 8b-1
> stop
> 
> Hello,
> 
> This bug is not specific to Exiftran. I can reproduce it with jpegtran,
> like you with gthumb :
> 
> $ jpegtran -rotate 90 -outfile photo_rotated_of_180_right.jpg 0.3.jpg
> 
> That's why I think it relates to the libjpeg(8/9) and I reassigns.

I do think the bug is in exiftran. Let's me explain:

This file is an EXIF image with an Exif Orientation marker that cause most 
Exif-compliant 
image viewers to display the underlying jpeg image rotated by 270°.

The command jpegtran -rotate 90 rotates the underlying jpeg image but
also remove the Orientation marker. The result is an apparent rotation
of 180°.

Now, jpegtran need not be aware of the Exif tag, but exiftran should be 
able to deal with the Orientation marker correctly.

(Note: libjpeg-progs include a script exifautotran to fix the
orientation, it wokrs fine with this image).

PS: please always CC the maintainer of the package you are reassigning a
bug to, otherwise they are likely not to notice the bug :)

Cheers,
-- 
Bill. <ballo...@debian.org>

Imagine a large red swirl here. 

Reply via email to