On Friday 16 July 2004 20:41, Victor Spång Arthursson wrote:
> 2004-07-08 kl. 06.25 skrev Wudi:
> > int imagepng ( resource image [, string filename])
>
> Back on track again!
>
> What I don't know is how to save the file - do I read the datastream
> from imagepng and then create a file and write the stream to it?

If you already have an image resource then calling imagepng() with a filename 
will create and write the file for you.

-- 
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
------------------------------------------
/*
IBM's original motto:
        Cogito ergo vendo; vendo ergo sum.
*/

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

Reply via email to