Download the PHP package intellex/stamper without Composer
On this page you can find all versions of the php package intellex/stamper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download intellex/stamper
More information about intellex/stamper
Files in intellex/stamper
Package stamper
Short Description Stamps the images with opaque or semi-transparent overlays
License MIT
Informations about the package stamper
Lightweight PHP library for adding stamps and watermarks to images on the fly
Very useful when you want to keep you original images inaccessible and serve their watermarked version only.
- Supports both single stamps and tiled watermarks.
- Integrated support for cache, with seamless implementation.
- Easy transformations such as: resize, rotate and opacity.
Setup
In order to fully utilize this library, a web server setup is necessary. Web server should recognize all requests going out for images and than redirect them to your proxy script.
Here is an example of nginx configuration:
Examples
Check out /tests/proxy
directory for fully working snippets.
Get the stamp or watermark
Apply it to an image
Create a simple file that will be used as a proxy
Load the target image from either JPEG or PNG images.
Full example
To do
- Speed up the method for changing the opacity.
- Make it easier to stamp in the standard positions (ie: center, top, bottom-right, etc...).
- Be able to define the number of tiles, so that the watermark is automatically scalled.
- More tests.
Licence
MIT License
Copyright (c) 2019 Intellex
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Credits
Script has been written by the Intellex team.