weixin_39668408
2020-11-30 00:09add more params and functionalities taking advantage of GraphicsMagick
The added params are: - gravity: "-gravity" param, default is Center - crop: "-crop" param with "+repage" - rotate: "-rotate" param - monochrome: "-monochrome" param - grey: "-colorspace" param with "GRAY" - no_strip: "-strip" param - trim: "-trim" param - no_interlace: "-interlace" param with "Line". Useful for JPEG, I'm not sure about other formats. - flip: "-flip" param - flop: "-flop" param Please go to GraphicsMagick documentation for detailed explanation.
Added test functions for buildArguments.
Params parser now divided into 3 main parts to parse int, bool and string type params. Adding params is easier this way.
该提问来源于开源项目:pierrre/imageserver
- 点赞
- 回答
- 收藏
- 复制链接分享
9条回答
为你推荐
- 将GOPATH设置为我的工作区的原因是什么?
- package
- 2个回答
- 如何在没有数据库的PHP中创建评论框?
- comments
- php
- 5个回答
- 在Laravel中处理不同类型的用户角色
- laravel
- roles
- php
- 1个回答
- 我在安全传输方面的尝试在多大程度上变得多余?
- security
- https
- php
- ssl
- 1个回答
- 虚拟CardDav服务器
- ios
- webdav
- php
- 2个回答
换一换