visavi/watermask 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

visavi/watermask

Composer 安装命令:

composer require visavi/watermask

包简介

Overlay mesh watermark image

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

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

###Result Result

Installing

composer require visavi/watermask

License

The class is open-sourced software licensed under the MIT license

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-20