Page 1 of 1

creating thumbs - increasing image quality

Posted: Fri Sep 09, 2005 8:25 pm
by adster
Hi,

not sure if this is the correct forum but here goes.

I'm having trouble with creating (decent) thumbnails from a large image with php.

Currently I am using
imagecreatetruecolor() & imagecopyresampled() to create the thumb etc... but it still is a little pixelated.

Is there anyway of specifying the quality or increasing the clarity of the thumb image?

I have searched the forums and came up with numerous people posting use 'imagecopyresampled() - but this doesn't give me the clean clear thumbs that i'd like. Plus thumbs are saving at ~6 to 7kb from a full size image of 250kb (thumbs 200*200). I wouldn't mind saving as double the kb size to increase picture quality but have no idea how to do this.

TIA for responses.

cheers,
Adam

Posted: Fri Sep 09, 2005 8:37 pm
by feyd
if you're using imagejpeg to produce the final output, set the quality argument.


moved to graphics.

Posted: Sat Sep 10, 2005 12:03 am
by adster
feyd wrote:if you're using imagejpeg to produce the final output, set the quality argument.


moved to graphics.
thanks feyd - sorry posting in the wrong forum

cheers,
Adam