Distorted channels converting TIFF to JPG

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
DougR
Posts: 2
Joined: 2015-04-03T09:10:45-07:00
Authentication code: 6789

Distorted channels converting TIFF to JPG

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Distorted channels converting TIFF to JPG

Post by dlemstra »

This is most likely a bug that we fixed. Can you upgrade ImageMagick on your Ubuntu machine?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
DougR
Posts: 2
Joined: 2015-04-03T09:10:45-07:00
Authentication code: 6789

Re: Distorted channels converting TIFF to JPG

Post by DougR »

Upgrading fixed the problem. Thanks.
Post Reply