CMYK -> (s)RGB conversion

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
Daniel_GG
Posts: 1
Joined: 2013-03-19T01:21:37-07:00
Authentication code: 6789

CMYK -> (s)RGB conversion

Post by Daniel_GG »

Hi,

i need to convert image from CMYK to a web able color space.

1) What should I use? RGB? sRGB?

2) Conversion via "-colorspace RGB" makes the images to dark. Is there a way to get better results?

3) Or do i have to use profiles? If yes, what profiles should i use? And where can i get them (with a license that i can redistribute them)
If i have to need profiles i must identify (with identify) the source first to ensure that it is CMYK, correct? Or is there a more easy way?

Thank you very much!

Daniel
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: CMYK -> (s)RGB conversion

Post by snibgo »

1. For the web, you want sRGB, not RGB.

2. "-colorspace sRGB" should do the trick.

3. It's best not to include profiles in your image, because many programs ignore them. You might need to use a profile to convert your files, but it's unlikely. Profiles are generally free to use and redistribute. You get them on the web, eg from Adobe or ICC.
snibgo's IM pages: im.snibgo.com
Post Reply