ImgResizer批量图片等比缩放、格式转换工具

联合创作 · 2023-09-29 23:15

ImgResizer 是一款具备批量图片等比缩放、批量格式转换的命令行工具。


主要特点:



  1. 1M大小,下载使用非常方便

  2. 支持图片类型:bmp、tiff、jpg、jpeg、gif、png、webp

  3. 支持类型转换为:bmp、tiff、jpg、jpeg、gif、png

  4. 五种等比缩放模式可供选择

  5. 支持自定义宽度、高度等


使用方法:



ImgResizer -source {source} -dest {dest} -mode {mode}
-dest string
Destination file or directory.
-format string
Ouput format. Supported values: png|jpg|jpeg|bmp|tiff|gif. Omit to keep original format.
-height int
Destination height. Omit to keep original height (default -1)
-help
Show help message.
-mode int
0 - (Default) Nearest-neighbor interpolation
1 - Bilinear interpolation
2 - Bicubic interpolation
3 - Mitchell-Netravali interpolation
4 - Lanczos resampling with a=2
5 - Lanczos resampling with a=3
-source string
Source file or directory.
-width int
Destination width. Omit to keep original width (default -1)
浏览 22
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报