Like imagemin but batteries-included
currently support:
- Debian 11 (x64/arm64)
- Windows 10 (x64)
- MacOS latest (x64)
currently bundled image optimizer:
- jpg: MozJPEG (pre-built binary)
- gif: Gifsicle (pre-built binary)
- png: Pngquant (pre-built binary)
- webp: cwebp (pre-built binary)
- svg: SVGO (dist browser bundle)
CLI commands:
imagemin-min-in-place file.png file.svg file.webp ...
: process each image file in-place (imagemin-min file.png file.svg file.webp ...
also work)imagemin-min-test-boot
: test binary working on current platformimagemin-min-trim-battery
: drop binary for other platforms to save space (non-revert-able)
Note: use a *nix platform to pack
.tgz
and publish to preserve correct file permission and keep the 755 file permission on executable binary