[magick-users] GetFillColor and extract_info
Anthony Thyssen
anthony at griffith.edu.au
Thu Dec 21 00:21:40 CST 2006
"Rick Mabry" on wrote...
| > Setting a tile pattern in this way just does not seem effect the offset
| > of the pattern.
|
| It can, but it didn't work the way I expected. The following show some
| effects that give enough of a clue how it works:
|
| convert -size 640x480 xc:blue -tile logo:[640x480+100+100] \
| -draw "polygon 20,20 619,20 619,459 20,459" drawtest.png
|
| Then try the same with -100-100 in place of +100+100.
| Both give something different than an offset-less tile.
|
Ok in summery...
A tile offset requires you to actually know the size of the image being
tiled.
In other words the tile is saved in memory in a 'rolled' state, and
not as a simplier 'tile offset' or even a 'virtual canvas offset'.
Arrrggghhhh....
| In any case, in PerlMagick I can do a RollImage prior to the DrawImage but it
| is still not the best way, since it makes no sense to have to move pixels
| around in the $tile image. A drawing offset is just right, very efficient.
|
How do you specify a tile in the MVG draw argument?
That is, inside the -draw instead of globally. I believe a tiling
offset is actually part of the SVG description, so there should be a
way.
Then again I hope tiling is effected by -draw affine canvas 'warpping'
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
Up with kites! Down with para-fauna! -- Tuffy Koala
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list