Imgswap is a basic tool to swap image formats, resize resolution, and shrink images quickly.
input / output determined by file extension.
- JPEG (jpg, jpeg)
- PNG (png)
- WebP (webp)
- TIFF (tif, tiff)
- GIF (gif)
- HEIC/HEIF (heic, heif)
- imgswap -q 100 input.ext output.ext
- imgswap -h
-q <quality>
- Quality from 1 to 100
- Only affects JPEG, WebP, and HEIC
- Default is 90
-h- Show usage
- libjpeg, libpng, libwebp
- libtiff, giflib, libheif