Problem setting background color for wave image operation
Posted: 2007-12-13T11:58:16-07:00
I have trying to apply a wave operation on an image and have the added areas be transparent and having no luck. Any suggestions?
Here is the code:
The added area is always white, even when I try blank and Red as colors.
Thanks for any help.
Here is the code:
Code: Select all
$testImagick = new Imagick("input.jpg");
$testImagick->setImageFormat("png");
$testImagick->setBackgroundColor(new ImagickPixel("transparent"));
$testImagick->waveImage(20, $testImagick->getImageWidth() * 2);
Thanks for any help.