PHP graphics rescaling

PHP graphics rescaling

Posted by: plumfool
Posted on: 2003-03-27 15:40:00

I need to resize images on upload, and would usually do this via GD resampling.

However, from looking at phpinfo(), it appears that GD is not installed.

I was wondering if anyone else has had a need to do this and would recommend either pnmscale or imagemagick, or perhaps something else?

I am looking for efficient performance and highest quality.

Cheers.

Re: PHP graphics rescaling

Posted by: Huns
Posted on: 2003-03-27 16:07:00

Use ImageMagick. Copy your file to a temp file, then do this:

/path/to/mogrify -geometry 150x150 /path/to/tempfile

Tags: resize imagesphpinfoimagemagickcheersuploadgraphicsphpperformance