Page 1 of 1

washed away thumbnail problem with GD

Posted: Sat May 06, 2006 12:40 pm
by rami
i am using a greeting and photgallery system made by coder
it uses gd.dll
i am using easy php 1-8 which version of gd it has

my problem is even the good images thumbnail are washed out image and some are card to recognize
so is there any way with in GD to make image thumbnail quality better?
will increasing height and breadth work

i have found they do as

$imageLibrary = 'GD'; // Choose GD or GD2 - use GD2 if it is available
$maxFileSize = 250; // Maximum image size allowed in upload (measured in KiloBytes)
$resize_height = 100; // Height of generated thumbnails
$imagequality = 100; // Quality of thumbnails. Range 0-100


in the code
how can it be made better thubnail
at least not washed awayed thumbnails

Posted: Sat May 06, 2006 2:35 pm
by feyd
If you have GD2, use that and make sure to use imagecopyresampled() instead of imagecopyresized()

Posted: Sat May 06, 2006 2:37 pm
by s.dot
and imagecreatetruecolor