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 )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  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/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to