For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > February 2005 > re-sizing large graphs to fit web display









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 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

Sponsored Links







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

Copyright 2008 codecomments.com