I'm trying to create color sample images for given CMYK values. I'm currently using the following command:
Code: Select all
convert -size 90x90 xc:white -fill "cmyk(255,255,18,97)" -draw "rectangle 0,0 90,90" -colorspace CMYK -type ColorSeparation -depth 8 out.tif
Code: Select all
identify -verbose out.tif
Image: out.tif
...
Channel statistics:
Cyan:
min: 255 (1)
max: 255 (1)
mean: 255 (1)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Magenta:
min: 255 (1)
max: 255 (1)
mean: 255 (1)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Yellow:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Black:
min: 108 (0.423529)
max: 108 (0.423529)
mean: 108 (0.423529)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
...
Histogram:
8100: (255,255, 0,108) #FFFF006C yellow
...
MacOS X 10.5.8, ImageMagick 6.6.6-3 Q16
Ubuntu Linux 8.04, ImageMagick 6.7.0-2 Q16
What am I doing wrong?
Thanks for your help,
Timo