Page 1 of 1

tga to tiff gets rotated

Posted: 2018-10-31T02:59:44-07:00
by jan82
When converting a tga to tiff the output gets rotated. It has a "Mirror vertical" orientation header.

Example file: https://static.online-convert.com/examp ... _small.tga

Command: convert example_small.tga out.tiff

Re: tga to tiff gets rotated

Posted: 2018-10-31T05:38:58-07:00
by snibgo
What version of IM?

It seems to work fine for me, with IM v6.9.9-50. If your version is old, I suggest you upgrade.

Re: tga to tiff gets rotated

Posted: 2018-10-31T06:05:55-07:00
by jan82
It is not working with ImageMagick 7.0.8-14 but working e.g. with 7.0.8-9.

Re: tga to tiff gets rotated

Posted: 2018-10-31T06:15:05-07:00
by snibgo
For v7, I suggest you use "magick", not "convert" or "magick convert".

It works fine for v7.0.7-28. Perhaps you have found a recent bug.

Re: tga to tiff gets rotated

Posted: 2018-10-31T09:18:36-07:00
by fmw42
I can confirm that the result is 180 deg rotated in the output tiff in IM 7.0.8.14, but works fine in IM 6.9.10.14 Q16 Mac OSX.

Re: tga to tiff gets rotated

Posted: 2018-12-04T05:57:39-07:00
by jan82
Hi,
are there any news about this bug? Is there a bug tracker somewhere that I can check if it is fixed?

Thanks!

Re: tga to tiff gets rotated

Posted: 2018-12-05T00:02:59-07:00
by jan82

Re: tga to tiff gets rotated

Posted: 2018-12-05T00:28:36-07:00
by fmw42
Using IM 7.0.8.15 Q16 Mac OSX Sierra, it works fine for PNG and JPG but not for TIF

This works:

Code: Select all

magick example_small.tga tmp.png

This works:

Code: Select all

magick example_small.tga tmp.jpg

This does not:

Code: Select all

magick example_small.tga tmp.tif
This also fails in IM 6.9.10.15 Q16 Mac OSX Sierra

Code: Select all

convert example_small.tga tmp.tif

Re: tga to tiff gets rotated

Posted: 2018-12-06T00:30:58-07:00
by jan82
Thanks, I updated the report with your hints.