visavi/watermask
Composer 安装命令:
composer require visavi/watermask
包简介
Overlay mesh watermark image
README 文档
README
Basic useful feature list:
- 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
Installing
composer require visavi/watermask
License
The class is open-sourced software licensed under the MIT license
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-20
