Distorted channels converting TIFF to JPG
Posted: 2015-04-03T09:26:01-07:00
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:
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.
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
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.