pedrotroller/image-muffin
Composer 安装命令:
composer require pedrotroller/image-muffin
包简介
README 文档
README
This script will return the content of the image directly.
Usage
vendor/bin/muffinizer [options]
Options
--landscape Will generate a landscape.
--portrait Will generate a portrait.
--width[=WIDTH] The desired width of the image.
--height[=HEIGHT] The desired height of the image.
--bmp Will generate a .bmp image.
--gif Will generate a .gif image.
--jpeg Will generate a .jpeg image.
--jpg Will generate a .jpg image (default).
--png Will generate a .png image.
--wbmp Will generate a .wbmp image.
--webp Will generate a .webp image.
--xbm Will generate a .xbm image.
--content Will return the content of the resulting image (default).
--base64 Will return the base64 of the resulting image.
-h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Examples
Generate a landscape image
vendor/bin/muffinizer --landscape
Generate a landscape image with a specific size
vendor/bin/muffinizer --landscape --width 300
vendor/bin/muffinizer --landscape --height 300
Generate a portrait image
vendor/bin/muffinizer --portrait
Generate a portrait image with a specific size
vendor/bin/muffinizer --portrait --width 300
vendor/bin/muffinizer --portrait --height 300
Generate an image with width and height
vendor/bin/muffinizer --portrait --width 300 --height 300
统计信息
- 总下载量: 2.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-04-06