On Wed, 4 Aug 2004 19:36:40 -0700 (PDT)
PHP Gen <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Have very little of idea of the GD functions (and dont
> ahve imagemagik) so am having problems....
> 
> 1. I need to read all the images from a dir and write
> something on it at the bottom right side of the
> picture
> 
> 2.save this image in a diff folder keeping the
> originals as is.
> 
> I have worked out the logic to fetch the imgs from the
> folder into an array but the rest is beyond me...
> 
> 
> I HAVE gotten a good class that does a lot but...it
> does not save the image, it outputs it to the browser
> (class below) can anybody help me save the file to a
> folder on my disk please?
> 
> I have gone to http://se.php.net/image, 
> searched the archives,
> http://www.hotscripts.com/PHP/Tips_and_Tutorials/Image_Manipulation/
> and google...but am as confused as ever...maybe
> because its 5am ;-) and been working whole day.
> 
> Solutions or URLs are most welcome, thanks in advance.
> -Mag

http://www.php.net/manual/en/function.imagepng.php

bool imagepng ( resource image [, string filename])

The imagepng() outputs a GD image stream (image) in PNG format to standard output 
(usually the browser) or, if a filename is given by the filename it outputs the image 
to the file. 

Think this.

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

Reply via email to