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 <548>convert -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

Reply via email to