On Tuesday 16 March 2004 23:55, Ewout de Boer wrote:
> Is there a function to get the raw image data from a image resource ?
> (resource created by imagecreatefrom....)
>
> I want to read and manipulate an image from a file and store it in a
> database without the use of a temp. file

One thing you can try is to use the output buffer functions to grab the output 
of imagejpeg(), imagepng() or whatever. I've never done it before so let us 
know if it works (although there's no reason why it shouldn't).

-- 
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
------------------------------------------
/*
Is truth not truth for all?
                -- Natira, "For the World is Hollow and I have Touched
                   the Sky", stardate 5476.4.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to