2017 © Pedro Peláez
 

library watermask

Overlay mesh watermark image

image

visavi/watermask

Overlay mesh watermark image

  • Wednesday, July 29, 2015
  • by visavi
  • Repository
  • 1 Watchers
  • 3 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Overlay grid watermarks

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Basic useful feature list:, (*2)

  • It covers the entire image watermarks
  • Image processing gif, jpeg, jpg, png formats
  • Working with images from the relative and absolute paths
  • Checking the existence of the file, including remote file
  • Calculation of the aspect ratio of the watermark to the original image
  • Ability to customize the automatic imposition through .htaccess
<FilesMatch ".(gif|jpg|jpeg|png)$">

  RewriteEngine on
  RewriteRule .*  /example.php?image=%{REQUEST_URI} [NC]

</FilesMatch>

Examples of implementation of requests

http://site/examples.php?image=/image.jpg  // Processing relative path
http://site/examples.php?image=http://site/image.jpg // Processing the absolute path
http://site/image.jpg // Automatic processing through htaccess

Result

Result, (*3)

Installing

composer require visavi/watermask

License

The class is open-sourced software licensed under the MIT license, (*4)

The Versions

29/07 2015

dev-master

9999999-dev http://visavi.net

Overlay mesh watermark image

  Sources   Download

MIT

The Requires

  • php >=5.3.0