WEBPMUX(1) | General Commands Manual | WEBPMUX(1) |
NAME¶
webpmux - command line tool to create WebP Mux/container file.SYNOPSIS¶
webpmux -get GET_OPTIONS INPUT -o OUTPUT[ -bgcolor BACKGROUND_COLOR ] -o
OUTPUT
DESCRIPTION¶
This manual page documents the webpmux command. webpmux can be used to create a WebP container file and extract/strip relevant data from the container file.OPTIONS¶
GET_OPTIONS (-get):¶
- icc
- Get ICC profile.
- exif
- Get EXIF metadata.
- xmp
- Get XMP metadata.
- frame n
- Get nth frame.
SET_OPTIONS (-set)¶
- icc file.icc
- Set ICC profile.
- exif file.exif
- Set EXIF metadata.
- xmp file.xmp
- Set XMP metadata.
STRIP_OPTIONS (-strip)¶
- icc
- Strip ICC profile.
- exif
- Strip EXIF metadata.
- xmp
- Strip XMP metadata.
FRAME_OPTIONS (-frame)¶
- file_i +di[+xi+yi[+mi[bi]]]
- Where: 'file_i' is the i'th frame (WebP format), 'xi','yi' specify the image 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 the blending method for this frame (+b for BLEND or -b for NO_BLEND). 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 default to +0+0.
- -loop n
- Loop the frames n number of times. 0 indicates the frames should loop forever. Valid range is 0 to 65535 [Default: 0 (infinite)].
- -bgcolor A,R,G,B
- Background color of the canvas.
INPUT¶
- Input file in WebP format.
OUTPUT (-o)¶
- Output file in WebP format.
Note:¶
- The nature of EXIF, XMP and ICC data is not checked and is assumed to be valid.
BUGS¶
Please report all bugs to our issue tracker: http://code.google.com/p/webp/issuesEXAMPLES¶
webpmux -set icc image_profile.icc in.webp -o icc_container.webp-frame anim_2.webp +100+50+50+1+b -loop 10 -bgcolor
255,255,255,255
webpmux -get frame 2 anim_container.webp -o frame_2.webp
webpmux -set icc image_profile.icc -o icc_container.webp -- ---in.webp
webpmux -get icc -o image_profile.icc -- ---icc_container.webp
webpmux -strip icc -o without_icc.webp -- ---icc_container.webp
-o anim_container.webp
AUTHORS¶
webpmux is written by the WebP team.SEE ALSO¶
cwebp(1), dwebp(1), gif2webp(1)December 17, 2013 |