2 个版本
| 0.1.1 | 2024年2月9日 |
|---|---|
| 0.1.0 | 2024年2月8日 |
#11 in #maintain
6KB
67 代码行
图像缩放器
获取和设置图像尺寸
用法
- 获取尺寸:
resizr -<image-file> - 设置宽度并保持宽高比:
resizr -<image-file> -<width> -<output-file> - 设置宽度和高度:
resizr -<image-file> -<width> -<height> -<output-file> - 帮助:
resizr --help(注意:-h标志用于--height)
依赖项
~15MB
~95K SLoC