Skip to content

Dariusp/php-simple-watermark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

simple php class to put watermark

Example
define('ROOT',$_SERVER['DOCUMENT_ROOT']);

$watermark = new Watermark(ROOT.'anim.jpg');
$watermark->setWatermarkImage(ROOT.'watermark3.png');
$watermark->setType(Watermark::CENTER);
$a = $watermark->saveAs(ROOT.'test.jpg');

About

easy way put png watermark on jpeg image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published