dwebp
dwebp decompresses WebP files into PNG, PAM, PPM or PGM images.
Animated WebP files are not supported.
More information: https://developers.google.com/speed/webp/docs/dwebp/.
-
Convert a
webpfile into apngfile:
dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -
Convert a
webpfile into a specific filetype:
dwebp {{path/to/input.webp}} -bmp|-tiff|-pam|-ppm|-pgm|-yuv -o {{path/to/output}} -
Convert a
webpfile, using multi-threading if possible:
dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -mt -
Convert a
webpfile, but also crop and scale at the same time:
dwebp {{input.webp}} -o {{output.png}} -crop {{x_pos}} {{y_pos}} {{width}} {{height}} -scale {{width}} {{height}} -
Convert a
webpfile and flip the output:
dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -flip -
Convert a
webpfile and don't use in-loop filtering to speed up the decoding process:
dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -nofilter
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.