cmyk color definitions for draw do not work
Posted: 2008-05-15T05:49:25-07:00
convert -colorSpace CMYK -size 100x100 xc:"cmyk(0,255,255,0)" -fill "cmyk(255,0,0,0)" -draw "Rectangle 10,10 90,90" result.tif
This should result in a red square with a cyan square inside of it. What happens is, that the red square (canvas) is correct, but the cyan square is also red because the -fill color is interpreted as rgba, which also adds an alpha channel to the result.tif.
Im running this on a suse linux box with ImageMagick 6.4.1 05/04/08 Q16.
Thanks for your help,
Chris
This should result in a red square with a cyan square inside of it. What happens is, that the red square (canvas) is correct, but the cyan square is also red because the -fill color is interpreted as rgba, which also adds an alpha channel to the result.tif.
Im running this on a suse linux box with ImageMagick 6.4.1 05/04/08 Q16.
Thanks for your help,
Chris