Online Photoshop in PHP Part (5) >>
(image after watermarked with gmail logo)
Those who haven’t seen the online photoshop tool created by me, just click here: http://www.sajithmr.com/photoshop
Today we will implement the watermarking on images using php gd library. Intelligent watermarking means, apply a logo or a watermark image on another image by measuring the color depth of the applied image. For this water marking, use png images as logo or watermark for better results.
Live example for watermark implementation: http://sajithmr.com/photoshop-tuts/watermark/addwatermark.php
You can see different watermark location by changing the x1,y1 and x2,y2 parameters of the following url:
See the watermark php source code here: http://sajithmr.com/photoshop-tuts/watermark/watermark.class.txt
Download the full-source code of watermarking implementation using php+gd from here: http://sajithmr.com/photoshop-tuts/watermark.rar