note 69195 deleted from function.imagejpeg by bjori

From: Date: Sat, 26 Aug 2006 15:54:04 +0000
Subject: note 69195 deleted from function.imagejpeg by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-116363@lists.php.net to get a copy of this message
Note Submitter: jgonzalez at _nospam dot innox dot com dot mx Reason: bad code ---- Well; I've just wasted around an hour trying to output a JPG image using imagejpg($im); it was outputing a broken image. The strange thing was that if I filled the filename argument, and saw the resulting file from the file system, the image was correct. Solution: ob_clean() before imagejpg()

« previous php.notes (#116363) next »