Convert and identify colorspace of png files
Posted: 2010-08-08T09:04:05-07:00
Hello everybody out there using imagemagick,
If I convert an image file.jpg using the command "convert -profile rgb.icc file.jpg -profile cmyk.icc file_conv.jpg", "identify -verbose file_conv.jpg" returns "colorspace: CMYK" like expected.
However, if my file is in png format, the whole procedure doesn't seem to work: "convert -profile rgb.icc file.png -profile cmyk.icc file_conv.png", "identify -verbose file_conv.png" returns "colorspace: RGB" and not "colorspace: CMYK" like expected.
Unfortunately, I can't even tell for sure whether this is a bug of convert or identify.
My operating system is Ubuntu 10.04 (Lucid Lynx) and I'm using imagemagick version 6.5.7-8.
Regards,
Julia
If I convert an image file.jpg using the command "convert -profile rgb.icc file.jpg -profile cmyk.icc file_conv.jpg", "identify -verbose file_conv.jpg" returns "colorspace: CMYK" like expected.
However, if my file is in png format, the whole procedure doesn't seem to work: "convert -profile rgb.icc file.png -profile cmyk.icc file_conv.png", "identify -verbose file_conv.png" returns "colorspace: RGB" and not "colorspace: CMYK" like expected.
Unfortunately, I can't even tell for sure whether this is a bug of convert or identify.
My operating system is Ubuntu 10.04 (Lucid Lynx) and I'm using imagemagick version 6.5.7-8.
Regards,
Julia