note 44099 deleted from function.imagecolorallocate by tomsommer

From: Date: Fri, 16 Jul 2004 17:32:52 +0000
Subject: note 44099 deleted from function.imagecolorallocate by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73408@lists.php.net to get a copy of this message
Note Submitter: david@NOSPAMmaximumwebprofits.co.uk ---- In the code above placed by Leif on the 15th April 2003, there is an error on the following line: ImageCopyMerge($im,$im2,0,0,0,0, $imageWidth, imageHeight, 100); This error causes the routine to display a completely black image, not greyscale. The line should read: ImageCopyMerge($im,$im2,0,0,0,0, $imageWidth, $imageHeight, 100); Note the addition of the $ sign before the imageHeight variable. Now it works fine! David.

« previous php.notes (#73408) next »