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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
gjenczyk
Posts: 3
Joined: 2015-04-10T17:37:40-07:00
Authentication code: 6789

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
gjenczyk
Posts: 3
Joined: 2015-04-10T17:37:40-07:00
Authentication code: 6789

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

Post 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).
gjenczyk
Posts: 3
Joined: 2015-04-10T17:37:40-07:00
Authentication code: 6789

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

Post 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!
Post Reply