Overlapping Images with GD
(Page 1 of 3 )
This tutorial demonstrates how to place one image over another image... handy stuff for applying a signature or logo to a photo, adding a "watermark," or whatever else you might imagine useful.
By : Chaos Zen
Often, tutorials covering the GD libraries and it's available functions in PHP will show how to overlay text onto images, manipulate images (resize, flip, rotate, etc) or how to dynamicly generate charts or graphs from numerical data. I have not seen many demonstrating how to combine images (or moreso, placing a transparent forground image over a background image).
In this tutorial, I will demonstrate how to place an image over another image which may come in handy for many uses including, but not limited to: applying a signature or logo to a photo, adding a "watermark", placing an object onto a background or whatever else you might image useful.
Next: Combining Images with GD >>
More Miscellaneous Articles
More By Codewalkers