dwebp
dwebp
NAME
dwebp - decompress a WebP file to an image file
SYNOPSIS
dwebp [options] input_file.webp
DESCRIPTION
This manual page documents the dwebp command.
dwebp decompresses WebP files into PNG, PAM, PPM or PGM images.
OPTIONS
The basic options are:
-version
Print the version number (as major.minor.revision) and exit.
-o string
Specify the name of the output file (as PNG format by default).
Using "-" as output name will direct output to 'stdout'.
-- string
Explicitly specify the input file. This option is useful if the
input file starts with an '-' for instance. This option must
appear last. Any other options afterward will be ignored. If
the input file is "-", the data will be read from stdin instead
of a file.
-yuv Change the output format to raw YUV. The output consists of
luma/chroma-U/chroma-V samples instead of RGB, saved sequen-
tially as individual planes. This option is mainly for verifica-
tion and debugging purposes.
-nofancy
Don't use the fancy upscaler for YUV420. This may lead to jaggy
edges (especially the red ones), but should be faster.
-nofilter
Don't use the in-loop filtering process even if it is required
by the bitstream. This may produce visible blocks on the non-
compliant output, but it will make the decoding faster.
-dither strength
Specify a dithering strength between 0 and 100. Dithering is a
post-processing effect applied to chroma components in lossy
compression. It helps by smoothing gradients and avoiding band-
ing artifacts.
-alpha_dither
If the compressed file contains a transparency plane that was
quantized during compression, this flag will allow dithering the
reconstructed plane in order to generate smoother transparency
gradients.
-nodither
Disable all dithering (default).
-flip Flip decoded image vertically (can be useful for OpenGL textures
for instance).
BUGS
Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp
Patches welcome! See this page to get started: http://www.webmpro-
ject.org/code/contribute/submitting-patches/
EXAMPLES
dwebp picture.webp -o output.png
dwebp picture.webp -ppm -o output.ppm
dwebp -o output.ppm -- ---picture.webp
cat picture.webp | dwebp -o - -- - > output.ppm
AUTHORS
dwebp is a part of libwebp and was written by the WebP team.
The latest source tree is available at https://chromium.google-
source.com/webm/libwebp
SEE ALSO
cwebp(1), gif2webp(1), webpmux(1)
Please refer to http://developers.google.com/speed/webp/ for additional
information.