@hkamran/image-convert
v1.0.1
Published
Convert PNG files to the WebP and AVIF file formats
Downloads
3
Readme
@hkamran/image-convert
Convert PNG files to the WebP and AVIF file formats
Usage
$ npx @hkamran/image-convert
Options
--input
(default:*.{jpg,jpeg,tif,tiff,png,gif,svg}
): Input filename(s), supports globs/wildcards--output
(optional, defaults to current directory): Output directory--quality
(default: 50): Quality vs file size, 1 (lowest/smallest) to 100 (highest/largest)--speed
(default: 5): CPU effort vs file size, 0 (slowest/smallest) to 8 (fastest/largest)--lossless
(default: false): Use lossless compression--chromaSubsampling
(default:4:4:4
): Set to'4:2:0'
to use chroma subsampling--overwrite
(default: false): Allow existing files to be overwritten--verbose
(default: false): Write progress to stdout