RE: [PHP-GENERAL] Creating an image and storing it as a GIF in a database
| From: | Boaz Yahav | Date: | Sat, 24 Jun 2000 17:41:10 +0000 |
| Subject: | RE: [PHP-GENERAL] Creating an image and storing it as a GIF in a database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2918@lists.php.net to get a copy of this message | ||
Check out the various articles about pictures and mysql on
http://www.weberdev.com
in the articles section.
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-----Original Message-----
From: Federico Pomi [mailto:Federico@Pomi.net]
Sent: Saturday, June 24, 2000 5:38 PM
To: php-general@lists.php.net
Subject: [PHP-GENERAL] Creating an image and storing it as a GIF in a
database
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net