OS Manuals

/usr/bin/dwebp

The WebP command line tools

From libwebp-tools 1.6.0-r7 (os), captured 2026-11-05 by running dwebp --help (exit 1). permalink

Unknown option '--help'
Usage: dwebp in_file [options] [-o out_file]

Decodes the WebP image file to PNG format [Default].
Note: Animated WebP files are not supported.

Use following options to convert into alternate image formats:
  -pam ......... save the raw RGBA samples as a color PAM
  -ppm ......... save the raw RGB samples as a color PPM
  -bmp ......... save as uncompressed BMP format
  -tiff ........ save as uncompressed TIFF format
  -pgm ......... save the raw YUV samples as a grayscale PGM
                 file with IMC4 layout
  -yuv ......... save the raw YUV samples in flat layout

 Other options are:
  -version ..... print version number and exit
  -nofancy ..... don't use the fancy YUV420 upscaler
  -nofilter .... disable in-loop filtering
  -nodither .... disable dithering
  -dither <d> .. dithering strength (in 0..100)
  -alpha_dither  use alpha-plane dithering if needed
  -mt .......... use multi-threading
  -crop <x> <y> <w> <h> ... crop output with the given rectangle
  -resize <w> <h> ......... resize output (*after* any cropping)
  -flip ........ flip the output vertically
  -alpha ....... only save the alpha plane
  -incremental . use incremental decoding (useful for tests)
  -h ........... this help message
  -v ........... verbose (e.g. print encoding/decoding times)
  -quiet ....... quiet mode, don't print anything
  -noasm ....... disable all assembly optimizations
Options (21)
OptionDescriptionSource
-alpha_ditherIf 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.help + man
-hPrint usage summary. (in the manual page but not in --help)man
-versionPrint the version number (as major.minor.revision) and exit. (in the manual page but not in --help)man
-o stringSpecify the name of the output file (as PNG format by default). (in the manual page but not in --help)man
-bmpChange the output format to uncompressed BMP. (in the manual page but not in --help)man
-tiffChange the output format to uncompressed TIFF. (in the manual page but not in --help)man
-pamChange the output format to PAM (retains alpha). (in the manual page but not in --help)man
-ppmChange the output format to PPM (discards alpha). (in the manual page but not in --help)man
-pgmChange the output format to PGM. (in the manual page but not in --help)man
-yuvChange the output format to raw YUV. (in the manual page but not in --help)man
-nofancyDon't use the fancy upscaler for YUV420. (in the manual page but not in --help)man
-nofilterDon't use the in-loop filtering process even if it is required by the bitstream. (in the manual page but not in --help)man
-dither strengthSpecify a dithering strength between 0 and 100. (in the manual page but not in --help)man
-noditherDisable all dithering (default). (in the manual page but not in --help)man
-mtUse multi-threading for decoding, if possible. (in the manual page but not in --help)man
-crop x_positionCrop the decoded picture to a rectangle with top-left corner at coordinates (x_position, y_position) and size width x height. (in the manual page but not in --help)man
-flipFlip decoded image vertically (can be useful for OpenGL textures for instance). (in the manual page but not in --help)man
-resize, -scale widthRescale the decoded picture to dimension width x height. (in the manual page but not in --help)man
-quietDo not print anything. (in the manual page but not in --help)man
-vPrint extra information (decoding time in particular). (in the manual page but not in --help)man
-noasmDisable all assembly optimizations. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.