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:
- -h
- Print usage summary.
- -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.
- -bmp
- Change the output format to uncompressed BMP.
- -tiff
- Change the output format to uncompressed TIFF.
- -pam
- Change the output format to PAM (retains alpha).
- -ppm
- Change the output format to PPM (discards alpha).
- -pgm
- 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.
- -mt
- Use multi-threaded parallel decoding if possible.
- -dbg
- Superimpose visual debugging information on the decoded picture.
- -v
- 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 |