|
Posted by windandwaves on 02/24/06 02:24
Hi Folk
I was just wondering if you do any "thumbnailing" (imagecopyresized) of
images and if you have noticed that the quality is not always that great.
This is what I use:
$source = imagecreatefromjpeg($filename);
$thumb = imagecreatetruecolor($w[$portrait][$j],$h[$portrait][$j]);
imagealphablending($thumb, false);
$source = @imagecreatefromjpeg($filename);
imagecopyresized($thumb, $source, 0, 82, 0, 0, $w[$portrait][$j],
$h[$portrait][$j], $width, $height);
@imagejpeg($thumb, $filename);
And the images come out rather pixilated...
TIA
> Nicolaas
Navigation:
[Reply to this message]
|