Warning: CS/cs (setcolorspace) operand not a name

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
Jip

Warning: CS/cs (setcolorspace) operand not a name

Post by Jip »

I am using ImageMagick 6.2.9 09/27/06 Q16 and GhostScript 8.15 on Windows XP. I am converting ai files to png files and I keep getting the following warning message:

Warning: CS/cs (setcolorspace) operand not a name

The conversion ultimately occurs but there are subtle differences between the original ai file and the converted png files. Drop shadows are interpreted incorrectly and look wrong in the png files and the lines are jagged. I am using the following command to perform the conversion:

convert -trim +repage -units PixelsPerInch -density 300 -interlace none -antialias "graphic 1.ai" "graphic_1.png"
OR
convert -trim +repage -units PixelsPerInch -density 300 -interlace none -antialias "graphic 1.ai" "graphic_1.png"

Either command yields the same result. Any recommendations?
Post Reply