Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Ron Savage
February 22, 2005, 4:35 pm
rate this thread
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.
Ron Savage, firstname.lastname@example.org on 22/02/2005
Let the record show: Microsoft is not an Australian company