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
Gradients (newPseudoImage)
Re: Gradients (newPseudoImage)
What is the result you get?
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Gradients (newPseudoImage)
As per IM Examples, Gradients with Transparency
http://www.imagemagick.org/Usage/canvas ... ransparent
graident was expanded to allow the use of transparent colors in IM v6.2.9-8
As such you Imagick is using a version of IM that is just a little too old!
http://www.imagemagick.org/Usage/canvas ... ransparent
graident was expanded to allow the use of transparent colors in IM v6.2.9-8
As such you Imagick is using a version of IM that is just a little too old!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/