"Marcel Wouterse" on wrote...
| Hi All,
|
| On the examples pages there is a part about rounding thumbnails.
| http://www.cit.gu.edu.au/~anthony/graphics/imagick6/thumbnails/#rounded
|
| I was looking at the following action:
| convert -size 15x15 xc:white -draw 'circle 0,0 0,14' \
| \( xc:none -draw 'circle 0,0 0,12' \) \
| -compose DstOut -composite rounded_corner.png
|
| This creates a rounded corner with a black edge (just like it shows on the
| example page).
|
To make it blue, set a blue fill color...
convert -size 15x15 xc:white -fill blue -draw 'circle 0,0 0,14' \
\( xc:none -draw 'circle 0,0 0,12' \) \
-compose DstOut -composite rounded_corner.png
If you want to do this with the transparent corners,
using a 'add' overlay and a 'sub' mask, the blue should be added to the
'add' or overlay image. Any color in the 'sub' mask does not matter,
as it is used to mark the areas to clear to transparency.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Warning -- the varmits in these woods are NOT tame.
Travelers are warning to stay on the road,
as thier remains will not be returned to thier kin. -- The Lerdki
Robert Heinlein's, ``Glory Road''
-----------------------------------------------------------------------------
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