Scroll to navigation

DWP2(1) General Commands Manual DWP2(1)

NAME

dwp2 - decompress a WP2 file to an image file

SYNOPSIS

dwp2 [options] input_file.wp2

DESCRIPTION

This manual page documents the dwp2 command.

dwp2 decompresses WP2 files into PNG, PAM, PPM or PGM images.

OPTIONS

The basic options are:

Print usage summary.
Print the version number (as major.minor.revision) and exit.
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.
Change the output format to uncompressed BMP.
Change the output format to uncompressed TIFF.
Change the output format to PAM (retains alpha).
Change the output format to PPM (discards alpha).
Change the output format to PGM. The output consists of luma/chroma samples instead of RGB, using the IMC4 layout. This option is mainly for verification and debugging purposes.
Use multi-threaded parallel decoding if possible.
Superimpose visual debugging information on the decoded picture.
Print extra information (decoding time in particular).

BUGS

Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp2
Patches welcome! See this page to get started: http://www.webmproject.org/code/contribute/submitting-patches/

EXAMPLES

dwp2 picture.wp2 -o output.png

AUTHORS

dwp2 is a part of libwebp2 and was written by the WebP team.
The latest source tree is available at https://chromium.googlesource.com/codecs/libwebp2/

This manual page was written by Pascal Massimino <pascal.massimino@gmail.com>, for the Debian project (and may be used by others).

SEE ALSO

cwp2(1),vwp2(1)

Output file format details

PAM: http://netpbm.sourceforge.net/doc/pam.html
PGM: http://netpbm.sourceforge.net/doc/pgm.html
PPM: http://netpbm.sourceforge.net/doc/ppm.html
PNG: http://www.libpng.org/pub/png/png-sitemap.html#info

June 8, 2022