The post below describes an easy and quick way to write text over an existing image using PHP. You can use this method to watermark your images and can put it to use in number of other ways.
First we would have to make the existing image editable to write text on that image. For that we have option of using three different php functions depending upon the type of image we are using. These functions are: