Search found 1 match

by Donghua.Lau
2016-06-23T16:28:05-07:00
Forum: IMagick
Topic: CMYK color space is invalid for ImagickDraw
Replies: 2
Views: 14422

CMYK color space is invalid for ImagickDraw

The sample code is below. $fg and $lg used in ImagickDraw are unexcepted in image.
php 5.6.21
Imagick compiled with ImageMagick version => ImageMagick 6.7.8-9 2016-03-31 Q16 http://www.imagemagick.org


$fg = "cmyk(0,0,0,100)";
$bg = "cmyk(0,1,0,0)";
$lg = "cmyk(1,0,0,0)";
$image_size = 200;

$fg ...