Creating an image and storing it as a GIF in a database
| From: | Federico Pomi | Date: | Sat, 24 Jun 2000 15:37:48 +0000 |
| Subject: | Creating an image and storing it as a GIF in a database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2916@lists.php.net to get a copy of this message | ||
Hi all,
I've an image I've createt with various image functions.
I need to save it in a database, in GIF format.
How can I do it?
ATM the only way I've found is to output the image to a file, using ImageGIF() function, then
read the file and copy the content of that file in my database.
Isn't there a faster way? It looks a bit stupid to save and reload and then store...
Isn't there a function that take an image handle and store it as a GIF/JPEG/PNG into a
variable?
Best Regards,
--
Federico Pomi
http://www.Pomi.net