Problem Drawing in CMYK Images

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
spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Problem Drawing in CMYK Images

Post by spyder »

I'm using ImageMagick 6.3.4.

When I try to draw text in a CMYK file only the CMY channels are affected. The K (black) channel is left untouched. I've read some of the post that are related, but there isn't a clear answer in any of them.

The command line I'm using is:

convert -colorspace CMYK -depth 8 -pointsize 100 -fill "cmyk(255, 255, 255, 255)" -draw "text 100,100 'Text to Draw'" CMYK.tif CMYK_Text.tif

I've also tried the cmyka fill command without result in the K or Alpha channel.

Thank you for your response in advance.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problem Drawing in CMYK Images

Post by magick »

The rendering engine takes place in the RGBA colorspace. Most other algorithms fully support the CMYKA color model. One solution is to convert your CMYKA to RGBA, draw on it, and then convert it back-- all with color profiles of course to get the best results.
spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: Problem Drawing in CMYK Images

Post by spyder »

Thank you!
Post Reply