Re: Using Image/GD functions to transform images stored in database
| From: | Jason Wong | Date: | Sat, 13 Sep 2003 17:34:04 +0000 |
| Subject: | Re: Using Image/GD functions to transform images stored in database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162509@lists.php.net to get a copy of this message | ||
On Sunday 14 September 2003 01:12, weston@leary.csoft.net wrote:
> I'm new to the GD/Image functions with PHP, and I'm trying to use them
> to manipulate jpeg images that I've stored in a MySQL database
> (specifically, creating thumbnails). The thing I can't tell from reading
> the documentation is how to use these image functions to operate on
> image data -- it looks like you get a GD image resource in each case
> by specifying a file name, not by passing image data directly. While I
> can see how that's convenient for the common case, I can't figure out
> how to make this work without writing the image out to a file (and since
> I'm already taking a bit of a performance hit by reading the image out
> a database, that seems like the wrong thing to do). Can anyone elaborate?
imagecreatefromstring()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The wise shepherd never trusts his flock to a smiling wolf.
*/