Posted on: 08/06/04 09:53pm
By: larry
I was having troubles getting JPEGs to resize. The fix was to change ppmtojpeg to pnmtojpeg.
At
sourcefordge[*1] it says that "ppmtojpeg was replaced in Netpbm 9.19 (September 2001) by pnmtojpeg."
I replaced line 507 from gl 1.3.9 (shown commented below) with the uncommented line and now things work smoothly.
//$cmd .= 'jpegtopnm ' . $cmd_end . 'ppmtojpeg > ' . $tmpfile;
$cmd .= 'jpegtopnm ' . $cmd_end . 'pnmtojpeg > ' . $tmpfile;
JPEG image resize and upload.class.php
Posted on: 08/09/04 08:52am
By: vinny
Could you submit this as a bug (see the resources block on the left hand side of the site).
Thanks,
Vinny