Appologies for large pictures (and content in advance, but they are clean)
but I have written a script to upload images. Dependin upon the size of the image - it then resizes it proportioanlly so that the max dimension is 600px.
But as you can see the quality is very poor. Can I increase the quality? You can see the difference
poor quality resized with php 50k
http://myweb.tiscali.co.uk/stevenjparkes/1135460049.jpg
good quality (resized before uploading in photoshop 239k
http://myweb.tiscali.co.uk/stevenjparkes/1135458074.jpg
upload script:
// Create the new image!
$src = ImageCreateFromJpeg($full);
$dst = ImageCreateTrueColor($full_width, $full_height);
ImageCopyResized($dst, $src, 0, 0, 0, 0, $full_width, $full_height, $width, $height);
// and now finally write the resized image to the $THUMB_DIR
ImageJpeg($dst, $IMAGE_DIR . $filename);
ps. Merry christmas. 🆒