note 47384 rejected from function.imagecreatetruecolor by irchtml

From: Date: Wed, 02 Mar 2005 15:27:52 +0000
Subject: note 47384 rejected from function.imagecreatetruecolor by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-85791@lists.php.net to get a copy of this message
Note Submitter: r0nd3L ---- Hey, I made a code where it outputs image. I chose image by ?image=/blah/blah.jpg and then it takes it from outside web tree from that dir. The problem I'm having is that the quality outputed by PHP is much lower than original JPG. Code: header("Content-type: image/jpeg"); $image2 = "/www/n/i/nizamas.com/docs/" . $image; $im = imagecreatefromjpeg($image2); imagejpeg($im); imagedestroy($im); Here are the 2 links to show difference: http://www.nizamas.com/auct/586_knov/586_knovstart.jpg http://www.nizamas.com/image.php?i=...6_knovstart.jpg Thanks in advance. Matas

« previous php.notes (#85791) next »