greetings
I'm using a script to create a thumbnail of a JPEG image and show on my page. Here is the script
$abc = imagecreatefromjpeg($_GET['ficheiro']);
$def = imagecreate(174, 102);
imagecopyresized($def, $abc, 0, 0, 50, 50, 174, 102, 174, 102);
imagejpeg($def);
imagedestroy($abc);
imagedestroy($def);
but the thumbnail that is created/generated has very low image quality
Someone as any ideas about this? What I must do to make the thumbnail to have the same resolution as the source image so it have the max quality possible?
TIA
Almeida