Answer the question
In order to leave comments, you need to log in
Why is Imagick coloring an image the wrong color, and how can I overcome this?
The simplest code:
$image = new Imagick();
$image->newImage(500, 500, new ImagickPixel('#fff000'));
$image->setImageFormat('png');
header('Content-type: image/png');
echo $image;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question