CMYK to RGB
Posted: 2008-02-27T02:38:46-07:00
Using iMagick I've converted a CMYK EPS file to RGB JPEG. The colours however, are quite different after conversion with for example the main dark blue being converted to a more vibrant blue.
Is there anything I need to bear in mind when converting from CMYK to RGB? I've seen people talk about color profiles and colorspaces but to be honest I don't know much about them.
I tried explicitly setting the colorspace using:
but no joy.
I've not posted in the iMagick forum as I think this is probably more a fundamental ImageMagick question than it is an iMagick question but correct me if I'm wrong.
Can anyone shed any light on why I'm getting the color transformations and what I can do to prevent it?
Thanks,
James.
Is there anything I need to bear in mind when converting from CMYK to RGB? I've seen people talk about color profiles and colorspaces but to be honest I don't know much about them.
I tried explicitly setting the colorspace using:
Code: Select all
$im->setImageColorspace(Imagick::COLORSPACE_RGB);
I've not posted in the iMagick forum as I think this is probably more a fundamental ImageMagick question than it is an iMagick question but correct me if I'm wrong.
Can anyone shed any light on why I'm getting the color transformations and what I can do to prevent it?
Thanks,
James.