note 36915 added to function.imagecreatetruecolor
| From: | Hallvord RM Steen | Date: | Mon, 27 Oct 2003 10:40:22 +0000 |
| Subject: | note 36915 added to function.imagecreatetruecolor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59364@lists.php.net to get a copy of this message | ||
Regarding choosing the TrueColor or the plain version of imagecreate automatically, I've found
that the following works for me:
<?php
$newImg=@ImageCreateTrueColor($width, $height)
or $newImg=ImageCreate($width, $height);
?>
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatetruecolor.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36915
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36915&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36915&report=yes
Search -- http://master.php.net/manage/user-notes.php