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:
pgpmQS9b8g2He.pgp
Description: PGP signature