2011-09-30 10:11:29 +02:00
|
|
|
.\" Hey, EMACS: -*- nroff -*-
|
2015-10-20 05:06:50 +02:00
|
|
|
.TH WEBPMUX 1 "October 19, 2015"
|
2011-09-30 10:11:29 +02:00
|
|
|
.SH NAME
|
2014-08-29 22:13:49 +02:00
|
|
|
webpmux \- create animated WebP files from non\-animated WebP images, extract
|
|
|
|
frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile.
|
2011-09-30 10:11:29 +02:00
|
|
|
.SH SYNOPSIS
|
2011-11-04 00:10:27 +01:00
|
|
|
.B webpmux \-get
|
2011-09-30 10:11:29 +02:00
|
|
|
.I GET_OPTIONS
|
|
|
|
.I INPUT
|
2011-11-04 00:10:27 +01:00
|
|
|
.B \-o
|
2011-09-30 10:11:29 +02:00
|
|
|
.I OUTPUT
|
|
|
|
.br
|
2011-11-04 00:10:27 +01:00
|
|
|
.B webpmux \-set
|
2011-09-30 10:11:29 +02:00
|
|
|
.I SET_OPTIONS
|
|
|
|
.I INPUT
|
2011-11-04 00:10:27 +01:00
|
|
|
.B \-o
|
2011-09-30 10:11:29 +02:00
|
|
|
.I OUTPUT
|
|
|
|
.br
|
2011-11-04 00:10:27 +01:00
|
|
|
.B webpmux \-strip
|
2011-09-30 10:11:29 +02:00
|
|
|
.I STRIP_OPTIONS
|
|
|
|
.I INPUT
|
2011-11-04 00:10:27 +01:00
|
|
|
.B \-o
|
2011-09-30 10:11:29 +02:00
|
|
|
.I OUTPUT
|
|
|
|
.br
|
2012-01-24 21:46:46 +01:00
|
|
|
.B webpmux \-frame
|
2011-09-30 10:11:29 +02:00
|
|
|
.I FRAME_OPTIONS
|
2012-11-01 23:34:46 +01:00
|
|
|
.B [ \-frame ... ] [ \-loop
|
2011-09-30 10:11:29 +02:00
|
|
|
.I LOOP_COUNT
|
2012-11-01 23:34:46 +01:00
|
|
|
.B ]
|
|
|
|
.br
|
|
|
|
.RS 8
|
|
|
|
.B [ \-bgcolor
|
|
|
|
.I BACKGROUND_COLOR
|
|
|
|
.B ] \-o
|
2011-09-30 10:11:29 +02:00
|
|
|
.I OUTPUT
|
2012-11-01 23:34:46 +01:00
|
|
|
.RE
|
2011-09-30 10:11:29 +02:00
|
|
|
.br
|
2011-11-04 00:10:27 +01:00
|
|
|
.B webpmux \-info
|
2011-09-30 10:11:29 +02:00
|
|
|
.I INPUT
|
|
|
|
.br
|
2012-01-24 21:46:46 +01:00
|
|
|
.B webpmux [\-h|\-help]
|
2013-02-26 23:22:06 +01:00
|
|
|
.br
|
|
|
|
.B webpmux \-version
|
2011-09-30 10:11:29 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
This manual page documents the
|
|
|
|
.B webpmux
|
|
|
|
command.
|
|
|
|
.PP
|
2014-08-29 22:13:49 +02:00
|
|
|
\fBwebpmux\fP can be used to create/extract from animated WebP files, as well as
|
|
|
|
to add/extract/strip XMP/EXIF metadata and ICC profile.
|
2011-09-30 10:11:29 +02:00
|
|
|
.SH OPTIONS
|
2011-11-04 00:10:27 +01:00
|
|
|
.SS GET_OPTIONS (\-get):
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
|
|
|
.B icc
|
2012-11-01 00:30:41 +01:00
|
|
|
Get ICC profile.
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
2012-11-01 00:30:41 +01:00
|
|
|
.B exif
|
|
|
|
Get EXIF metadata.
|
|
|
|
.TP
|
|
|
|
.B xmp
|
|
|
|
Get XMP metadata.
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
2013-02-02 05:33:00 +01:00
|
|
|
.BI frame " n
|
2014-08-29 22:13:49 +02:00
|
|
|
Get nth frame from an animated image. (n = 0 has a special meaning: last frame).
|
2011-09-30 10:11:29 +02:00
|
|
|
|
2011-11-04 00:10:27 +01:00
|
|
|
.SS SET_OPTIONS (\-set)
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
2013-02-02 05:33:00 +01:00
|
|
|
.BI icc " file.icc
|
2012-11-01 00:30:41 +01:00
|
|
|
Set ICC profile.
|
|
|
|
.P
|
|
|
|
Where: 'file.icc' contains the ICC profile to be set.
|
|
|
|
.TP
|
2013-02-02 05:33:00 +01:00
|
|
|
.BI exif " file.exif
|
2012-11-01 00:30:41 +01:00
|
|
|
Set EXIF metadata.
|
2012-08-23 12:15:39 +02:00
|
|
|
.P
|
2012-11-01 00:30:41 +01:00
|
|
|
Where: 'file.exif' contains the EXIF metadata to be set.
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
2013-02-02 05:33:00 +01:00
|
|
|
.BI xmp " file.xmp
|
2012-11-01 00:30:41 +01:00
|
|
|
Set XMP metadata.
|
2012-08-23 12:15:39 +02:00
|
|
|
.P
|
2012-11-01 00:30:41 +01:00
|
|
|
Where: 'file.xmp' contains the XMP metadata to be set.
|
2011-09-30 10:11:29 +02:00
|
|
|
|
2011-11-04 00:10:27 +01:00
|
|
|
.SS STRIP_OPTIONS (\-strip)
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
|
|
|
.B icc
|
2012-11-01 00:30:41 +01:00
|
|
|
Strip ICC profile.
|
|
|
|
.TP
|
|
|
|
.B exif
|
|
|
|
Strip EXIF metadata.
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
2012-11-01 00:30:41 +01:00
|
|
|
.B xmp
|
|
|
|
Strip XMP metadata.
|
2011-09-30 10:11:29 +02:00
|
|
|
|
2011-11-04 00:10:27 +01:00
|
|
|
.SS FRAME_OPTIONS (\-frame)
|
2014-08-29 22:13:49 +02:00
|
|
|
Create an animated WebP file from multiple (non\-animated) WebP images.
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
2013-08-27 03:04:52 +02:00
|
|
|
.I file_i +di[+xi+yi[+mi[bi]]]
|
2012-11-01 00:30:41 +01:00
|
|
|
Where: 'file_i' is the i'th frame (WebP format), 'xi','yi' specify the image
|
2013-08-27 03:04:52 +02:00
|
|
|
offset for this frame, 'di' is the pause duration before next frame, 'mi' is
|
|
|
|
the dispose method for this frame (0 for NONE or 1 for BACKGROUND) and 'bi' is
|
2014-08-29 22:13:49 +02:00
|
|
|
the blending method for this frame (+b for BLEND or \-b for NO_BLEND).
|
2013-08-27 03:04:52 +02:00
|
|
|
Argument 'bi' can be omitted and will default to +b (BLEND).
|
|
|
|
Also, 'mi' can be omitted if 'bi' is omitted and will default to 0 (NONE).
|
|
|
|
Finally, if 'mi' and 'bi' are omitted then 'xi' and 'yi' can be omitted and will
|
2012-11-14 06:19:31 +01:00
|
|
|
default to +0+0.
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
2013-02-02 05:33:00 +01:00
|
|
|
.BI \-loop " n
|
2011-11-04 00:10:27 +01:00
|
|
|
Loop the frames n number of times. 0 indicates the frames should loop forever.
|
2012-11-01 23:34:46 +01:00
|
|
|
Valid range is 0 to 65535 [Default: 0 (infinite)].
|
|
|
|
.TP
|
2013-02-02 05:33:00 +01:00
|
|
|
.BI \-bgcolor " A,R,G,B
|
2012-11-01 23:34:46 +01:00
|
|
|
Background color of the canvas.
|
|
|
|
.br
|
|
|
|
where: 'A', 'R', 'G' and 'B' are integers in the range 0 to 255 specifying the
|
|
|
|
Alpha, Red, Green and Blue component values respectively
|
|
|
|
[Default: 255,255,255,255].
|
2011-09-30 10:11:29 +02:00
|
|
|
|
2011-11-04 00:10:27 +01:00
|
|
|
.SS INPUT
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
|
|
|
Input file in WebP format.
|
|
|
|
|
2011-11-04 00:10:27 +01:00
|
|
|
.SS OUTPUT (\-o)
|
2011-09-30 10:11:29 +02:00
|
|
|
.TP
|
|
|
|
Output file in WebP format.
|
|
|
|
|
2012-11-01 00:30:41 +01:00
|
|
|
.SS Note:
|
|
|
|
.TP
|
|
|
|
The nature of EXIF, XMP and ICC data is not checked and is assumed to be valid.
|
|
|
|
|
2012-01-25 02:39:05 +01:00
|
|
|
.SH BUGS
|
|
|
|
Please report all bugs to our issue tracker:
|
2015-10-20 05:06:50 +02:00
|
|
|
https://bugs.chromium.org/p/webp
|
2012-01-25 02:39:05 +01:00
|
|
|
.br
|
|
|
|
Patches welcome! See this page to get started:
|
2014-08-29 22:13:49 +02:00
|
|
|
http://www.webmproject.org/code/contribute/submitting\-patches/
|
2012-01-25 02:39:05 +01:00
|
|
|
|
2011-11-04 00:10:27 +01:00
|
|
|
.SH EXAMPLES
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Add ICC profile:
|
|
|
|
.br
|
2011-11-04 00:10:27 +01:00
|
|
|
webpmux \-set icc image_profile.icc in.webp \-o icc_container.webp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Extract ICC profile:
|
2011-09-30 10:11:29 +02:00
|
|
|
.br
|
2011-11-04 00:10:27 +01:00
|
|
|
webpmux \-get icc icc_container.webp \-o image_profile.icc
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Strip ICC profile:
|
2011-09-30 10:11:29 +02:00
|
|
|
.br
|
2012-11-01 00:30:41 +01:00
|
|
|
webpmux \-strip icc icc_container.webp \-o without_icc.webp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Add XMP metadata:
|
2012-11-01 00:30:41 +01:00
|
|
|
.br
|
|
|
|
webpmux \-set xmp image_metadata.xmp in.webp \-o xmp_container.webp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Extract XMP metadata:
|
2011-09-30 10:11:29 +02:00
|
|
|
.br
|
2012-11-01 00:30:41 +01:00
|
|
|
webpmux \-get xmp xmp_container.webp \-o image_metadata.xmp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Strip XMP metadata:
|
2012-11-01 00:30:41 +01:00
|
|
|
.br
|
|
|
|
webpmux \-strip xmp xmp_container.webp \-o without_xmp.webp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Add EXIF metadata:
|
2012-11-01 00:30:41 +01:00
|
|
|
.br
|
|
|
|
webpmux \-set exif image_metadata.exif in.webp \-o exif_container.webp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Extract EXIF metadata:
|
2012-11-01 00:30:41 +01:00
|
|
|
.br
|
|
|
|
webpmux \-get exif exif_container.webp \-o image_metadata.exif
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Strip EXIF metadata:
|
2012-11-01 00:30:41 +01:00
|
|
|
.br
|
|
|
|
webpmux \-strip exif exif_container.webp \-o without_exif.webp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Create an animated WebP file from 3 (non\-animated) WebP images:
|
2011-09-30 10:11:29 +02:00
|
|
|
.br
|
2014-08-29 22:13:49 +02:00
|
|
|
webpmux \-frame 1.webp +100 \-frame 2.webp +100+50+50
|
2012-11-01 23:34:46 +01:00
|
|
|
.br
|
|
|
|
.RS 8
|
2014-08-29 22:13:49 +02:00
|
|
|
\-frame 3.webp +100+50+50+1+b \-loop 10 \-bgcolor 255,255,255,255
|
2013-08-27 03:04:52 +02:00
|
|
|
.br
|
|
|
|
\-o anim_container.webp
|
2012-11-01 23:34:46 +01:00
|
|
|
.RE
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Get the 2nd frame from an animated WebP file:
|
2011-09-30 10:11:29 +02:00
|
|
|
.br
|
2011-11-04 00:10:27 +01:00
|
|
|
webpmux \-get frame 2 anim_container.webp \-o frame_2.webp
|
2014-08-29 22:13:49 +02:00
|
|
|
.P
|
|
|
|
Using \-get/\-set/\-strip with input file name starting with '\-':
|
2013-12-18 05:50:46 +01:00
|
|
|
.br
|
|
|
|
webpmux \-set icc image_profile.icc \-o icc_container.webp \-\- \-\-\-in.webp
|
|
|
|
.br
|
|
|
|
webpmux \-get icc \-o image_profile.icc \-\- \-\-\-icc_container.webp
|
|
|
|
.br
|
|
|
|
webpmux \-strip icc \-o without_icc.webp \-\- \-\-\-icc_container.webp
|
2011-09-30 10:11:29 +02:00
|
|
|
|
2011-11-04 00:10:27 +01:00
|
|
|
.SH AUTHORS
|
2011-09-30 10:11:29 +02:00
|
|
|
\fBwebpmux\fP is written by the WebP team.
|
|
|
|
.br
|
|
|
|
The latest source tree is available at http://www.webmproject.org/code
|
|
|
|
.PP
|
|
|
|
This manual page was written by Vikas Arora <vikaas.arora@gmail.com>,
|
|
|
|
for the Debian project (and may be used by others).
|
2012-01-25 02:39:05 +01:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
2012-11-16 00:55:06 +01:00
|
|
|
.BR cwebp (1),
|
2013-12-18 08:30:34 +01:00
|
|
|
.BR dwebp (1),
|
|
|
|
.BR gif2webp (1)
|
2012-01-25 02:39:05 +01:00
|
|
|
.br
|
2012-07-21 01:19:12 +02:00
|
|
|
Please refer to http://developers.google.com/speed/webp/ for additional
|
|
|
|
information.
|