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
tga to tiff gets rotated
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: tga to tiff gets rotated
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.
It seems to work fine for me, with IM v6.9.9-50. If your version is old, I suggest you upgrade.
snibgo's IM pages: im.snibgo.com
Re: tga to tiff gets rotated
It is not working with ImageMagick 7.0.8-14 but working e.g. with 7.0.8-9.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: tga to tiff gets rotated
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.
It works fine for v7.0.7-28. Perhaps you have found a recent bug.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: tga to tiff gets rotated
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
Hi,
are there any news about this bug? Is there a bug tracker somewhere that I can check if it is fixed?
Thanks!
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
I filed a bug report here: https://github.com/ImageMagick/ImageMagick/issues/1406
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: tga to tiff gets rotated
Using IM 7.0.8.15 Q16 Mac OSX Sierra, it works fine for PNG and JPG but not for TIF
This works:
This works:
This does not:
This also fails in IM 6.9.10.15 Q16 Mac OSX Sierra
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
Code: Select all
convert example_small.tga tmp.tif
Re: tga to tiff gets rotated
Thanks, I updated the report with your hints.