How to color text and background separatly for Imagick caption?
问题 I only want to color the caption text, and not the entire caption box (or background). Before Imagemagick 6.3.7 I could use this code to have a red colored text : $im->newPseudoImage(300, 300, "caption:" . "Put your text" ); $im->colorizeImage('#ff0000',1.0); I have upgraded because I need to set a font and a font size with the following code : $im->setFont("somefont.ttf"); $im->setpointsize(72); Now colorizeImage does not work the same way, as it doesnt' color only the caption TEXT but the