tga to tiff gets rotated

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
jan82
Posts: 9
Joined: 2018-03-05T06:23:08-07:00
Authentication code: 1152

tga to tiff gets rotated

Post by jan82 » 2018-10-31T02:59:44-07:00

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

snibgo
Posts: 10931
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: tga to tiff gets rotated

Post by snibgo » 2018-10-31T05:38:58-07:00

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.
snibgo's IM pages: im.snibgo.com

jan82
Posts: 9
Joined: 2018-03-05T06:23:08-07:00
Authentication code: 1152

Re: tga to tiff gets rotated

Post by jan82 » 2018-10-31T06:05:55-07:00

It is not working with ImageMagick 7.0.8-14 but working e.g. with 7.0.8-9.

snibgo
Posts: 10931
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: tga to tiff gets rotated

Post by snibgo » 2018-10-31T06:15:05-07:00

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.
snibgo's IM pages: im.snibgo.com

User avatar
fmw42
Posts: 24096
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: tga to tiff gets rotated

Post by fmw42 » 2018-10-31T09:18:36-07:00

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.

jan82
Posts: 9
Joined: 2018-03-05T06:23:08-07:00
Authentication code: 1152

Re: tga to tiff gets rotated

Post by jan82 » 2018-12-04T05:57:39-07:00

Hi,
are there any news about this bug? Is there a bug tracker somewhere that I can check if it is fixed?

Thanks!

jan82
Posts: 9
Joined: 2018-03-05T06:23:08-07:00
Authentication code: 1152

Re: tga to tiff gets rotated

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


User avatar
fmw42
Posts: 24096
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: tga to tiff gets rotated

Post by fmw42 » 2018-12-05T00:28:36-07:00

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

jan82
Posts: 9
Joined: 2018-03-05T06:23:08-07:00
Authentication code: 1152

Re: tga to tiff gets rotated

Post by jan82 » 2018-12-06T00:30:58-07:00

Thanks, I updated the report with your hints.

Post Reply