Page 1 of 1

PHP getImageBackgroundColor??

Posted: 2011-05-24T13:58:05-07:00
by znoopy
Hi!

Im trying to get the getImageBackgroundColor function to work with no luck. I want to use it to get the backround color of image1, then use that color when creating image2 something like:

Code: Select all

$image2->newImage($width,$height,new ImagickPixel(' bgr color from image1 '));
However I cant get the getImageBackgroundColor part working. Anyone used that function in php?

Thanks!