Hi, I am not sure if this is a bug in IM or Ghostscript. When converting from a PDF document to a raster image format (png for example), on PPC machines the colorspace comes out completely off. The same command on an Intel machine works fine. I'm assuming some endian-specific code is off somewhere. My command is:
/opt/local/bin/convert -sample 250 -colorspace CMYK 485ad067f1866.pdf[0] -colorspace RGB 485ad067f1866.png
You can see the resulting images below:
PPC:
Intel:
PDF color conversion problem on PPC machines
Re: PDF color conversion problem on PPC machines
Try this:
- /opt/local/bin/convert -colorspace RGB 485ad067f1866.pdf[0] -resize 250 485ad067f1866.png
Re: PDF color conversion problem on PPC machines
That command results in the same bright green on both platforms.
Re: PDF color conversion problem on PPC machines
The correct solution to this problem is to use two color profiles, generally a Swop for CMYK and an sRGB for RGB. First check to ensure LCMS is supported in your ImageMagick distribution otherwise you will get unexpected results. Type
- identify -list configure