Text Color Shifing on CMYK Pics
Text Color Shifing on CMYK Pics
I have a CMYK Pic and i am adding text to it using -draw and -fill "cmyk(0%,100%,100%,0%)" for the color but it changes for somereason to -fill "cmyk(100%,0%,0%,0%)", i am not sure why its doing this but it is. The only thing i can think of is that i converts my cmyk color to rgb which is -fill "cmyk(0%,100%,100%,0%)" = -fill "rgb(255,0,0)" and converts it back but does not properly do it and ends up with -fill "cmyk(100%,0%,0%,0%)".
Re: Text Color Shifing on CMYK Pics
Many of the algorithms in ImageMagick support multiple colorspaces, however, drawing and annotation only operate in the RGB colorspace. The solution is to use proper color profiles to first convert CMYK to RGB, draw on it, and then convert from RGB to CMYK.