[magick-users] Re: Problems with -draw image

Anthony Thyssen anthony at griffith.edu.au
Thu Feb 22 20:51:44 CST 2007


Mikolaj Machowski on  wrote...
| Anthony Thyssen scripsit:
| >
| > But you can also use the new -shadow transform, which will also create
| > shaped shadows for images with transparency.
| >
| > See IM examples
| >   http://www.imagemagick.org/Usage/convolve/#shadow
| 
| I forwarded your hint and for me this replaces script::
| 
|     convert from.png -bordercolor black -border 1x1 \
| 	    \( +clone -background black -shadow 80x3+7+7 \) \ 
| 	    +swap -background none -mosaic to.png
| 
Looks a lot simplier.

Hmm if you PNG is shaped you may like to replace -bordercolor black
with  -bordercolor none   or remove it entirely.


  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
  FileNames are infinite in length,
                where infinity is set to 255 chars! - "The Unix File System"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list