| Author |
re-sizing large graphs to fit web display
|
|
| zhilianghu@gmail.com 2005-02-24, 3:57 am |
|
I am looking for a tool (or I can program one if not too complicated)
in perl that can resize large graphs to better serve the web? (No, not
to use <img width= height= ...> to "re-size" but re-size the graph
itself)
It is most appreciated if someone could kindly provide some clues where
to get started... (any perl module does this? I searched Google/books
and don't seem to be lucky enough to find one).
Thanks!
Zhiliang
| |
| Gregory Toomey 2005-02-24, 3:57 am |
| zhilianghu@gmail.com wrote:
>
> I am looking for a tool (or I can program one if not too complicated)
> in perl that can resize large graphs to better serve the web? (No, not
> to use <img width= height= ...> to "re-size" but re-size the graph
> itself)
>
> It is most appreciated if someone could kindly provide some clues where
> to get started... (any perl module does this? I searched Google/books
> and don't seem to be lucky enough to find one).
>
> Thanks!
> Zhiliang
If you are talking about resizing gifs/jpegs then many use http://www.imagemagick.com/
Resizing tutorial for imagemagick:
http://www.cit.gu.edu.au/~anthony/g...magick6/resize/
There is a Perl interface too:
http://search.cpan.org/dist/PerlMagick/Magick.pm
gtoomey
www.gregorytoomey.com
| |
| John Bokma 2005-02-24, 3:57 am |
| wrote:
>
> I am looking for a tool (or I can program one if not too complicated)
> in perl that can resize large graphs to better serve the web? (No, not
> to use <img width= height= ...> to "re-size" but re-size the graph
> itself)
Programs like irfanview can do batch resizing. Resize before, don't do it
on-the-fly.
--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
|
|
|
|