Re: Write text on imge...AND save it to disk..

From: Date: Thu, 05 Aug 2004 04:28:37 +0000
Subject: Re: Write text on imge...AND save it to disk..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192803@lists.php.net to get a copy of this message
On Wed, 4 Aug 2004 19:36:40 -0700 (PDT) PHP Gen <genphp@yahoo.com> 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.

« previous php.general (#192803) next »