Bug#512935: [imagemagick] EXIF orientation not read correctly

2009-01-26 Thread roucaries bastien
On Mon, Jan 26, 2009 at 7:26 AM, Grant Grundler
grund...@parisc-linux.org wrote:
 On Sun, Jan 25, 2009 at 09:43:47PM -0700, Grant Grundler wrote:
 ...
 Nothing wrong with the image after running convert *except* the orientation
 info is discarded.

 I just realized -auto-orient has no effect and suspect this is part
 of the same problem. I'd debug this further but my first attempt to
 add printf statements failed.

 I just realized the code I was changing landed in libwand.so and
 not the convert binary.  Installed the new .so and got:
 grundler 548convert -auto-orient -quality 88 -resize 1600x1200 IMG_0001.JPG 
 xxx.jpg
 Orientation: 0
 Resize to: 1600x1200
 grundler 549

 I dump the Orientation when -auto-orient is evaluated in wand/mogrify.c.
 It's obviously wrong (jhead reports 6, which I'm sure is correct).
 Whatever is parsing/reading in the EXIF header is broken.

 I can test patches if someone points me at the right code.

You should therefore go the upstream forward see
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3t=12998
and ask for help.

Upstream is quite reactive.

Thanks

 thanks,
 grant







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512935: [imagemagick] EXIF orientation not read correctly

2009-01-25 Thread Grant Grundler
On Sun, Jan 25, 2009 at 09:43:47PM -0700, Grant Grundler wrote:
...
 Nothing wrong with the image after running convert *except* the orientation
 info is discarded.
 
 I just realized -auto-orient has no effect and suspect this is part
 of the same problem. I'd debug this further but my first attempt to
 add printf statements failed.

I just realized the code I was changing landed in libwand.so and
not the convert binary.  Installed the new .so and got:
grundler 548convert -auto-orient -quality 88 -resize 1600x1200 IMG_0001.JPG 
xxx.jpg 
Orientation: 0
Resize to: 1600x1200
grundler 549

I dump the Orientation when -auto-orient is evaluated in wand/mogrify.c.
It's obviously wrong (jhead reports 6, which I'm sure is correct).
Whatever is parsing/reading in the EXIF header is broken.

I can test patches if someone points me at the right code.

thanks,
grant



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org