Page 1 of 1

Distorted channels converting TIFF to JPG

Posted: 2015-04-03T09:26:01-07:00
by DougR
I am trying to convert a particular TIFF to JPG. On my development machine (Mac), the conversion works fine. On our Ubuntu servers, the Blue channel is getting squished to about half the width, resulting in a distorted looking image. It appears other channels may be getting dropped entirely.

Here are the files:
Original TIFF: https://www.dropbox.com/s/848khyyny384m ... .tiff?dl=0
Broken conversion: https://www.dropbox.com/s/90qilbny7ea7e ... n.jpg?dl=0
Correct conversion: https://www.dropbox.com/s/vb1vcqjq5y2d7 ... t.jpg?dl=0

I am doing the conversion thusly:

Code: Select all

convert original.tiff -colorspace RGB output.jpg
The OS I am using which creates the broken version is Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)
Using ImageMagick version 6.7.7-10 2014-03-06 Q16

The OS I am using which creates the correct version is Mac OS X 10.9.5
Using ImageMagick version 6.8.9-5 Q16

Within my application I'm using RMagick, instead of command line, but it gives me the same results.

Any help would be greatly appreciated. Thanks.

Re: Distorted channels converting TIFF to JPG

Posted: 2015-04-03T11:02:40-07:00
by dlemstra
This is most likely a bug that we fixed. Can you upgrade ImageMagick on your Ubuntu machine?

Re: Distorted channels converting TIFF to JPG

Posted: 2015-04-04T13:57:19-07:00
by DougR
Upgrading fixed the problem. Thanks.