PHP code example of tuckdesign / add-watermark
1. Go to this page and download the library: Download tuckdesign/add-watermark library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tuckdesign / add-watermark example snippets
Watermark = new \tuckdesign\AddWatermark('myfile.pdf', 'CONFIDENTIAL', 100, 100, 40, 45);
$newFile = $addWatermark->getOutputFile();