note 54025 added to function.imagecreatetruecolor
| From: | php-general at lists dot php dot net | Date: | Tue, 21 Jun 2005 10:17:52 +0000 |
| Subject: | note 54025 added to function.imagecreatetruecolor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90736@lists.php.net to get a copy of this message | ||
// Creates a transparent image rather than the default black image
function imageCreateTransparent($x, $y) {
$imageOut = imagecreate($x, $y);
$colourBlack = imagecolorallocate($imageOut, 0, 0, 0);
imagecolortransparent($imageOut, $colourBlack);
return $imageOut;
}
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatetruecolor.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54025
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54025&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54025&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54025&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54025&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54025&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54025&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54025&report=yes
Search -- http://master.php.net/manage/user-notes.php