watermark application in php

learner guy's Avatar, Join Date: Aug 2011
Light Poster
hello everyone ,
i am given an assignment which has two requirements

-create online watermark application

-make watermarked photos available to download in zip format

i just want to know is this possible in php ?
if so plz give some reference links from where i should study about it .
thnx
anilkamble's Avatar
Banned
it is possible in php using external classes.
u can search it on google u wil get more info.
pein87's Avatar
Ambitious contributor
Yes using the built in functions you can perform this easy

for image functions see GD

http://php.net/manual/en/book.image.php

for compression check zlib

http://php.net/manual/en/ref.zlib.php

heres an example of adding watermarks

http://www.sitepoint.com/watermark-images-php/

then once its been watermarked just compress it and move it to another directory or store it in the database(not recommended).

hope this helps