PHP getImageBackgroundColor??

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
znoopy
Posts: 1
Joined: 2011-05-24T07:54:27-07:00
Authentication code: 8675308

PHP getImageBackgroundColor??

Post 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!
Post Reply