[magick-users] Fill pattern in rectangle using PerlMagick
Draw('primitive' => 'rectangle', ..)
Ramsden, John
John.Ramsden at lorien.co.uk
Tue Jul 18 07:19:46 PDT 2006
Hi all,
I've searched everywhere, but with no luck, including archived threads on this list,
and tried various experiements such as:
$image->Draw('primitive' => 'rectange', 'tile' => 'pattern:checkerboard', etc)
but I can't for the life of me figure out how to get ImageMagick to tile a rectangle
with one of the built-in patterns detailed at:
http://www.imagemagick.org/script/formats.php#builtin-patterns
Seems like all available ImageMagick documentation concentrates on the
"flash" image transformation stuff, and practically ignores the humble "draw"
vector-graphic functionality.
Also, thinking ahead to the happy day I figure out the pattern filling for a rectangle,
my next challenge will be to apply a colour/pattern gradient to the rectangle.
(The app is for preparing bar charts, among other things, and the aim here is to
make each bar appear to stand out of the page like a 3D pillar. So any thoughts
are very welcome; but _please_, no one suggest I use GD::Graph or GnuPlot ;-P)
Cheers
John R Ramsden
**********************************************************************
The information contained in this email is confidential and is intended for the recipient only. If you have received it in error, please notify us immediately by reply email and then delete it from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person or store or copy this information in any medium. The views contained in this email are those of the author and not necessarily those of Lorien plc.
Thank you for your co-operation.
**********************************************************************
More information about the Magick-users
mailing list