Page 1 of 1

paintTransparentImage

Posted: 2007-12-01T17:40:38-07:00
by tataencu
I've been trying to make a certain part of an image transparent but i find it impossible.

The problem:
paintOpaqueImage changes the color correctly but paintTransparentImage doesn't seem to want to change the opacity at all.

And also, when i try to run Imagick::setImageMatte i get a function is not defined exception. I'm using IMagick 2.1.0RC1 and ImageMagick 6.2.8

Any ideas why this things happen?

Thanks,
George

Re: paintTransparentImage

Posted: 2007-12-02T12:51:27-07:00
by mkoppanen
tataencu wrote:I've been trying to make a certain part of an image transparent but i find it impossible.

The problem:
paintOpaqueImage changes the color correctly but paintTransparentImage doesn't seem to want to change the opacity at all.

And also, when i try to run Imagick::setImageMatte i get a function is not defined exception. I'm using IMagick 2.1.0RC1 and ImageMagick 6.2.8

Any ideas why this things happen?

Thanks,
George
Can you paste code please? setImageMatte is available if you have ImageMagick 6.2.9 or newer.

Re: paintTransparentImage

Posted: 2007-12-02T14:03:10-07:00
by tataencu
I installed ImageMagick 6.3.7 and now everything is working smoothly.

Thanks anyway.