For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2005 > ANNOUNCE: Image::Magick::Tiler V 1.00









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ANNOUNCE: Image::Magick::Tiler V 1.00
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


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com