Sorry, meant to send this to the rmagick list not the magick-users list :) - Korny
On Wed, Jun 11, 2008 at 2:02 PM, Korny Sietsma <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to make an image that has a solid area, and a semi-opaque > area, and a transparent area, somewhat more transparent. > > (The particular example is a rounded rectangle, which is solid, with a > shadow behind it created with the "shadow()" function) > > How do I make the whole image 75% of the original opacity, so the > rounded rectangle is transparent, but without messing up the > completely transparent parts of the image? > > I tried setting "image.opacity = Magick::MaxRGB * 0.75" - however this > seems to set all the transparent parts of the image to 75% opacity as > well. > > I'm sure I could work out a way to do this by composing the image over > another one - but that seems overly complex. Surely there's a simple > way to do this? > > - Korny > -- > Kornelis Sietsma korny at my surname dot com > -- Kornelis Sietsma korny at my surname dot com kornys at gmail dot com on google chat -- kornys on skype "we do what we must, because we can" _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
