[magick-users] compose with a mask with blurred edges
Anthony Thyssen
anthony at griffith.edu.au
Wed Jan 17 18:01:51 CST 2007
=?iso-8859-1?Q?G=FCnter?= Bachelier on wrote...
| Hello,
|
| I want to transform a greyscale image (represented as RGB png) in a mask
| where white
| is transparent, black is opaque and the greyscales are more or less
| transparent dependent
| on their brightness. The example image is a shape that should become a
| mask with blurred
| edges
| http://www.vi-anec.de/Trance-Art/IM-examples/IMCompose/SShape-002.png
| The mask should be used in the compose operation to get a continuos/soft
| change.
| How could this be achieved with IM/PerlMagick? Thank you!
|
| regards
| Günter
|
|
Greetings, Günter Bachelier
See IM examples, Masks as Colored Shapes
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/channels/#masks
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
It's always the details that get you in trouble.
-- Rick Cook, "Wizardry Cursed"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list