note 34677 added to function.imagecreatefromstring
| From: | not at rack1 dot php dot net | Date: | Sun, 03 Aug 2003 19:14:46 +0000 |
| Subject: | note 34677 added to function.imagecreatefromstring | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53275@lists.php.net to get a copy of this message | ||
A note to the previous question (if you still don't know it :))...
GIF's are 256 colors (or 8 bit), and the resample function needs true color I guess...
that's why it works with JPG's and not with GIF's.
Next thing... you take a string, write it to file, open the file (imagecreatefromgif), and delete
the file again.
if you do imagecreatefromstring($string) you can skip the temporary file part.
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatefromstring.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34677
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34677&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34677&report=yes