|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-05-15 16:29 UTC] mkoppanen@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ At present, it's impossible to generate an image of one uniform color within one operation. Instead, a new ImagickPixel must be created, on which setColor is used, and which is then passed to Imagick::newImage. If instead ImagickPixel's constructor was able to take a color value as a parameter, this would greatly simplify the use of ImagickPixel. An example usage is given below. Reproduce code: --------------- $i = new Imagick(); $i->newImage(420, 300, new ImagickPixel('blue'));