Gradients (newPseudoImage)
Posted: 2009-06-30T13:23:50-07:00
Hi,
i want to create a gradient using RGBA (alpha) values. This works fine on my windows machine (Imagick: 2.2.1-dev and ImageMagick 6.4.1 05/16/08 Q8 http://www.imagemagick.org)
$gradient->newPseudoImage(100, 100, "gradient:#ffffff88-#ffffffff);
But not on the webserver (Imagick: 2.2.1 and ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html)
I think it's because of the Q16 (16 bit colors) version. How do I use RGBA values and Q16?
Best regards,
root66
i want to create a gradient using RGBA (alpha) values. This works fine on my windows machine (Imagick: 2.2.1-dev and ImageMagick 6.4.1 05/16/08 Q8 http://www.imagemagick.org)
$gradient->newPseudoImage(100, 100, "gradient:#ffffff88-#ffffffff);
But not on the webserver (Imagick: 2.2.1 and ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html)
I think it's because of the Q16 (16 bit colors) version. How do I use RGBA values and Q16?
Best regards,
root66