| Ron Savage 2005-02-22, 3:57 pm |
| The pure Perl module Image::Magick::Tiler V 1.00
is available immediately from CPAN,
and from http://savage.net.au/Perl-modules.html.
On-line docs, and a *.ppd for ActivePerl are also
available from the latter site.
An extract from the docs:
Slice an image into N x M tiles.The geometry option is NxM+x+y,
where x and y offsets can be used to change the size of the tiles.
x and y can be negative.
Further, the width of each tile is ( (width of image) / N) + x pixels,
and the height of each tile is ( (height of image) / M) + y pixels.
For example, if you specify 2x3, and the vertical line which splits the image
goes through an interesting part of the image, you could then try 2x3+50, say,
to move the vertical line 50 pixels to the right.
This is what I do when printing database schema generated with GraphViz::DBI.
--
Cheers
Ron Savage, ron@savage.net.au on 22/02/2005
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company
|