Can one convert the color model of an image?
Can one convert the color model of an image, transferring it between RGB and CMYK?
-
You can set the
color_space
parameter tono_cmyk
(cs_no_cmyk
in URLs) to convert CMYK images to RGB.
Here's a Ruby example:cl_image_tag("sample.jpg", :color_space => "no_cmyk")
Here's a URL example:
http://res.cloudinary.com/demo/image/upload/cs_no_cmyk/sample.jpg0 -
Thanks Itay for the answer, quick follow up; can one apply the opposite transfer going from CMYK to RGB?
0 -
Currently converting from RGB to CMYK isn't supported. However, it's on our road-map.
0 -
I'm also very interested in RGB to CMYK conversion for clients to download print-ready files....
thanks
George
0 -
It's stated that this function is on the product road-map. When is it planned for?
Best regards,
Andreas Wellén
0 -
While this is still on our road-map, there's no ETA yet.
0 -
How can we change color of an image using Jquery or javascript?
0 -
You can change the color of an image using the technique as explained in the following:
http://support.cloudinary.com/entries/25131922-How-can-I-color-an-image-For example, in jQuery:
$.cloudinary.image("sample.jpg", { effect: 'colorize', color: 'red'});
0 -
Is the RGB to CMYK conversion still on the road map? Any updates on a release date?
0 -
UPDATE
Cloudinary now supports converting sRGB images to CMYK. This can be done by setting the
color_space
parameter tocmyk
(cs_cmyk
in URLs).
For example:
http://res.cloudinary.com/demo/image/upload/cs_cmyk/sample.jpg0 -
Is it possible to covert an RGB image with an Adobe RGB color profile to CMYK image with a CMYK SWOP profile?
0 -
Hi Jeff,
That should be possible. Could you please share an example image URL that we can look at and test with?
0 -
Thanks Aleksandar,
https://lib.store.yahoo.net/lib/pomegranate/RGBImageWithAdobeRGBProfile.jpg
If it's possible to do this type of conversion it's important for my needs that it NOT be converted to an intermediate profile such as SRGB before conversion to CMYK SWOP. Doing so will loose color range.
0 -
Hi Jeff,
It is possible to change the color space by specifying the color space.
You can refer to our documentation to learn more. It's also possible to specify the ICC file as well.0 -
Thanks Erwin
0 -
I'm a Cloudinary newbie, and I could use some help. Can someone tell how to write the correct syntax for an HTTPS request to render an RGB file in the CMYK model using a specified color space (icc) file? Here's what's not working:
The ICC profile has been uploaded to my account:
https://res.cloudinary.com/df2gps1sp/raw/upload/v1589041057/USWebCoatedSWOP_hv2oso.icc0 -
Hi Jeff,
The reason why your URL doesn't work is that the ICC file needs to be uploaded as Raw with type Authenticated. To help with that I created an upload preset in your account (Settings -> Upload tab) called raw_authenticated. Afterwards, I set that as a Default Upload Preset for Media Library Uploads. (Bottom of Settings -> Upload) and I uploaded that file in your Media Library as Raw - Authenticated.
I can reference that newly uploaded file (called: USWebCoatedSWOP.icc) like so -
https://res.cloudinary.com/df2gps1sp/image/upload/cs_icc:USWebCoatedSWOP.icc/CB204_FC_b1s8f6.jpgAfter uploading, I removed the raw_authenticated preset as a default upload preset, but if you need to upload other raw authenticated assets then you can use the same approach to upload. Please see the following article for more details on that and other upload preset options -
https://support.cloudinary.com/hc/en-us/articles/208097215-How-can-I-add-upload-options-when-uploading-via-the-Media-Library-0 -
WOW! Thanks Aleksandar for the fast response and the work you did. Coudinary's support is top notch!
0 -
So after downloading the image file it appears that the SRGB ICC profile is attached. Is there a way to render an image that has the CMYK profile attached that was included in the request?
https://res.cloudinary.com/df2gps1sp/image/upload/cs_icc:USWebCoatedSWOP.icc/CB204_FC_b1s8f6.jpg
Thanks again for your help.
0 -
Hi Jeff,
You can add `cs_cmyk` to your URL, like this:
https://res.cloudinary.com/df2gps1sp/image/upload/cs_cmyk/CB204_FC_b1s8f6.jpg
Is this what you are looking for?
0 -
Hi Jeff,
It looks like this file should have converted to CMYK with the specific color profile. I will raise this internally and update once I have any new information on this.
0 -
Michal,
Thanks for your assistance. I can use the cs_cmyk parameter and the resulting image has the "U.S. Web Coated (SWOP) v2" icc profile assigned to it. But when I use the cs_icc parameter with an alternate CMYK icc profile the resulting image has the sRGB profile assigned to it. I just briefly analyzed the image with the sRGB profile and my guess is that the color conversion was done using the alternate CMYK icc profile but then the sRGB profile was assigned to it and/or used for a second conversion.
My company would like to utilize Cloudinary's platform for both website applications and DAM for digital and print. Some of our print-based marketing materials are printed using the FOGRA color calibration system which has its own icc profiles.
0 -
Hi Jeff,
Thank you for providing this information. I will check this internally and update once I have any new insights.
0
Post is closed for comments.
Comments
23 comments