note 100759 added to function.imagecopy

From: Date: Thu, 04 Nov 2010 23:41:34 +0000
Subject: note 100759 added to function.imagecopy
Groups: php.notes 
Request: Send a blank email to php-notes+get-173765@lists.php.net to get a copy of this message
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; ---- Server IP: 69.147.83.197 Probable Submitter: 71.114.58.65 ---- Manual Page -- http://www.php.net/manual/en/function.imagecopy.php Edit -- https://master.php.net/note/edit/100759 Del: integrated -- https://master.php.net/note/delete/100759/integrated Del: useless -- https://master.php.net/note/delete/100759/useless Del: bad code -- https://master.php.net/note/delete/100759/bad+code Del: spam -- https://master.php.net/note/delete/100759/spam Del: non-english -- https://master.php.net/note/delete/100759/non-english Del: in docs -- https://master.php.net/note/delete/100759/in+docs Del: other reasons-- https://master.php.net/note/delete/100759 Reject -- https://master.php.net/note/reject/100759 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#173765) next »