Converting SUN raster (*.ras) image -- issue with colors
Posted: 2011-03-02T13:24:08-07:00
Hello,
I am trying to convert a SUN raster (*.ras) image to jpg, tiff, etc. The problem I'm having is that the colors come out wrong, which I think has to do with colormaps, or the specification of RGB or CMYK. This is not my area of expertise, so I had to give up.
The version of ImageMagick I'm using is 6.6.7-1_0+q16. I'm on a MacOSX 10.6.6 machine with an Intel processor.
The following are links to some files:
1) test.ras -- the original ras file I'm trying to convert. Download from:
http://www.adrive.com/public/82b7c56eed ... 81725.html
2) test.tiff -- a screen grab of the way the image should look, i.e., with the correct colors. Download from:
http://www.adrive.com/public/2272817a3d ... 29dad.html
3) test.jpg -- the result of "convert test.ras test.jpg", which when I view it on my computer, the colors are wrong (orange instead of purple, yellow instead of red, etc.) Download from:
http://www.adrive.com/public/caf75698f3 ... 686cd.html
It seems the problem is with the interpretation of the color channels. I would appreciate some help with specifying the proper convert options to correctly handle the colors.
Thank you.
I am trying to convert a SUN raster (*.ras) image to jpg, tiff, etc. The problem I'm having is that the colors come out wrong, which I think has to do with colormaps, or the specification of RGB or CMYK. This is not my area of expertise, so I had to give up.
The version of ImageMagick I'm using is 6.6.7-1_0+q16. I'm on a MacOSX 10.6.6 machine with an Intel processor.
The following are links to some files:
1) test.ras -- the original ras file I'm trying to convert. Download from:
http://www.adrive.com/public/82b7c56eed ... 81725.html
2) test.tiff -- a screen grab of the way the image should look, i.e., with the correct colors. Download from:
http://www.adrive.com/public/2272817a3d ... 29dad.html
3) test.jpg -- the result of "convert test.ras test.jpg", which when I view it on my computer, the colors are wrong (orange instead of purple, yellow instead of red, etc.) Download from:
http://www.adrive.com/public/caf75698f3 ... 686cd.html
It seems the problem is with the interpretation of the color channels. I would appreciate some help with specifying the proper convert options to correctly handle the colors.
Thank you.