[H-GEN] resample images at the command line
Michael Anthon
michael at anthon.net
Mon Apr 28 21:24:37 EDT 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On Mon, Apr 28, 2003 at 04:51:05PM +1000, Greg Fairbrother wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> Does anyone know of a command line program that allows you to resize and
> resample .jpg and .gif images?
>
> I am creating a shopping cart with php and would like to automate these
> operations on images after the user uploads the image to the server.
>
This link shows an interesting comparison of using GD and netpbm to do
this...
http://gallery.menalto.com/modules.php?op=modload&name=NetPbmVsGd&file=index
Might also be worth having a look at how gallery does this, you could always
rip out the functions they have already written to handle all this stuff as
it could save a good deal of work.
Cheers,
Michael
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list