Hi,
my situation:
I have a Grayscale Image (e.g. grayscale.tif) which I want to convert to a recolored CMYK.
I have my CMYK-Values:
C=1, M=0.72, Y=0, K=0.18
So far, I all my tries ended either with a K=0 or K=1 channel.
This is what I have done:
Using -recolor on the grayscale image:
convert grayscale.tif -set colorspace CMYK -recolor "1,0,0,0, 0,0.72,0,0, 0,0,0,0, 0,0,0,0.18" cmyk.tif
Result in Photoshop for the four channels:
C=1, M=0.72, Y=0, K=0
Using -combine on my grayscale image and than recolor:
convert -combine grayscale.tif grayscale.tif grayscale.tif grayscale.tif -set colorspace CMYK temp.tif
convert temp.tif -set colorspace CMYK -recolor "1,0,0,0, 0,0.72,0,0, 0,0,0,0, 0,0,0,0.18" cmyk.tif
Result in Photoshop for the four channels:
C=1, M=0.72, Y=0, K=1
Has anybody some hints for me?
I am using imagemagick 6.6.0-4 on debian squeeze.
Recolor Grayscale- (or CMYK-)Image?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Recolor Grayscale- (or CMYK-)Image?
-recolor has been deprecated in favor of -color-matrix at http://www.imagemagick.org/script/comma ... lor-matrix as of v6.6.1-0. Also see http://www.imagemagick.org/Usage/color_mods/#recolor
I do not know if -recolor allowed the use of cmyk colors. Color-matrix does, but it may still produce an sRGB result. So you may need to add -colorspace CMYK afterwards. I am not sure of any of this as I have not tested it.
If you still have trouble, post a link to your image and your exact command line.
I do not know if -recolor allowed the use of cmyk colors. Color-matrix does, but it may still produce an sRGB result. So you may need to add -colorspace CMYK afterwards. I am not sure of any of this as I have not tested it.
If you still have trouble, post a link to your image and your exact command line.