Re: imagecopyresized just copies

From: Date: Sun, 20 Nov 2005 17:20:01 +0000
Subject: Re: imagecopyresized just copies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226159@lists.php.net to get a copy of this message
On Sunday 20 November 2005 17:14, Andy Pieters wrote: > {case 1: imagegif($main,$thumbname); > break; > case 2: imagejpeg($main,$thumbname); > break; > case 3: imagepng($main,$thumbname); > chmod($thumbname,0600); #read&write for apache only > } > imagedestroy($main); > imagedestroy($thumb); > > When I examine the two files, the are binary different but size and width > are equal. > Never mind, after a long day, I overlooked the fact that instead of imagegif($thumb,$thumbname) I was doing imagegif($main,$thumbname)... Andy -- Now listening to Top! Radio Live www.topradio.be/stream on amaroK Geek code: www.vlaamse-kern.com/geek Registered Linux User No 379093 If life was for sale, what would be its price? www.vlaamse-kern.com/sas/ for free php utilities --

Attachment: [application/pgp-signature]
« previous php.general (#226159) next »