Page 1 of 1

Convert produces reversed/backwards images (ImageMagick-6.9.1-1)

Posted: 2015-04-10T17:57:41-07:00
by gjenczyk
Convert (ImageMagick-6.9.1-1) occasionally produces backwards/reversed tiffs. The tiffs that have the issue throw the following errors:

convert.exe: Unknown field with tag 512 (0x200) encountered. 'TIFFReadDirectory' @warning/tiff.c/TIFFWarnings/852
convert.exe: Unknown field with tag 513 (0x201) encountered. 'TIFFReadDirectory' @warning/tiff.c/TIFFWarnings/852
convert.exe: Unknown field with tag 514 (0x202) encountered. 'TIFFReadDirectory' @warning/tiff.c/TIFFWarnings/852
convert.exe: Unknown field with tag 515 (0x203) encountered. 'TIFFReadDirectory' @warning/tiff.c/TIFFWarnings/852

A example of a command that produces these results would be something like:
convert d:\tiff\1.tif d:\tiff\2.tif -adjoin d:\tiff\3.tif

This is a link to a sample set of tiffs: 2_orig.tif is the pre-convert tiff, 2_output.tif is what it looks like afterward.
https://www.dropbox.com/sh/o3ojp9d883hm ... NR7ia?dl=0

Re: Convert produces reversed/backwards images (ImageMagick-6.9.1-1)

Posted: 2015-04-10T18:42:13-07:00
by magick
You can correct this with the -auto-orient option. You'll also need a patch available in ImageMagick 6.9.1-2 Beta available by sometime tomorrow.

Re: Convert produces reversed/backwards images (ImageMagick-6.9.1-1)

Posted: 2015-04-11T10:04:34-07:00
by gjenczyk
Thanks for that - will the "flopping" be addressed in the 6.9.1-2 Beta (i.e., the output is a mirror image of the original file).

Re: Convert produces reversed/backwards images (ImageMagick-6.9.1-1)

Posted: 2015-04-11T12:01:54-07:00
by gjenczyk
I figured out that the problem files had an orientation of leftBottom, so it looks to me like the mirroring maybe is as designed. I've figured out how to deal with those ones using options. Thanks!