ImgResizer批量图片等比缩放、格式转换工具
ImgResizer 是一款具备批量图片等比缩放、批量格式转换的命令行工具。
主要特点:
- 1M大小,下载使用非常方便
- 支持图片类型:bmp、tiff、jpg、jpeg、gif、png、webp
- 支持类型转换为:bmp、tiff、jpg、jpeg、gif、png
- 五种等比缩放模式可供选择
- 支持自定义宽度、高度等
使用方法:
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)评论
