note 100759 deleted from function.imagecopy by danbrown

From: Date: Thu, 04 Nov 2010 23:53:03 +0000
Subject: note 100759 deleted from function.imagecopy by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-173766@lists.php.net to get a copy of this message
Note Submitter: Sam V ---- latin4567 at gmail dot com, thank you!! I spent about 8 hours of frustration trying to get my translucent PNGs working before encountering these five lines from your code. $im = imagecreatetruecolor($w, $h); imagesavealpha($im, true); $transparent = imagecolorallocatealpha($im, 0, 0, 0, 127); imagefill($im, 0, 0, $transparent); return $im;

« previous php.notes (#173766) next »