Optimize images seamlessly (lossy or lossless)
$ yarn add gtuk/node-shrink#master
Image format | Lossy | Lossless |
---|---|---|
JPEG | mozjpeg | jpegtran / jpegoptim |
PNG | pngquant | optipng / pngcrush / pngout / advpng / oxipng |
GIF | giflossy | gifsicle |
WEBP | cwebp | cwebp |