tuyen image webp command
Convert images to WebP format.
Note that this command requires a local installation of ImageMagick.
To install ImageMagick, visit https://imagemagick.org/script/download.php.
Usage
tuyen image webp [OPTIONS]
Options
–max-width <MAX_WIDTH>
Maximum width of the output images.
Aliases: --mw.
–max-height <MAX_HEIGHT>
Maximum height of the output images.
Aliases: --mh.
–max-pixels <MAX_PIXELS>
Maximum pixels (width * height) of the output images.
Aliases: --mp.
-d, –depth <DEPTH>
The bit depth of the output images (1-100).
–strip <STRIP>
Whether to strip metadata from the output images.
Default: true.
Possible values: true, false.
–alpha <ALPHA>
Whether to preserve alpha channel in the output images.
Default: true.
Possible values: true, false.
-f, –force <FORCE>
Force conversion even if the output file already exists.
Default: false.
Possible values: true, false.
-h, –help
Print help.