imagecreatetruecolor ?

From: Date: Thu, 13 Nov 2003 12:32:13 +0000
Subject: imagecreatetruecolor ?
Groups: php.db 
Request: Send a blank email to php-db+get-31552@lists.php.net to get a copy of this message
Hi all! I´m trying to create a true color Jpeg thumbnail, I take a picture (Jpg/jpeg) resized and copied -> inserted to database and a thumbnail is saved in a diffrent folder BUT....the thumb looks wierd. It does NOT look like its made out of true color..lol where do I go wrong? =) //_-----------------------------------pic part of function -------------------------- $tmp_img = imagecreatetruecolor($new_width, $new_height); imagecopyresized($tmp_img, $img, 0, 0, 0, 0, $new_width, $new_height, $width, $height); $thumb = $tmp_img; imagejpeg($thumb, $thumb_path);

« previous php.db (#31552) next »