1WEBPMUX(1) General Commands Manual WEBPMUX(1)
2
3
4
6 webpmux - command line tool to create WebP Mux/container file.
7
9 webpmux -get GET_OPTIONS INPUT -o OUTPUT
10 webpmux -set SET_OPTIONS INPUT -o OUTPUT
11 webpmux -strip STRIP_OPTIONS INPUT -o OUTPUT
12 webpmux -frame FRAME_OPTIONS [ -frame ... ] [ -loop LOOP_COUNT ]
13 [ -bgcolor BACKGROUND_COLOR ] -o OUTPUT
14 webpmux -info INPUT
15 webpmux [-h|-help]
16 webpmux -version
17
19 This manual page documents the webpmux command.
20
21 webpmux can be used to create a WebP container file and extract/strip
22 relevant data from the container file.
23
25 GET_OPTIONS (-get):
26 icc Get ICC profile.
27
28 exif Get EXIF metadata.
29
30 xmp Get XMP metadata.
31
32 frame n
33 Get nth frame.
34
35
36 SET_OPTIONS (-set)
37 icc file.icc
38 Set ICC profile.
39
40 Where: 'file.icc' contains the ICC profile to be set.
41
42 exif file.exif
43 Set EXIF metadata.
44
45 Where: 'file.exif' contains the EXIF metadata to be set.
46
47 xmp file.xmp
48 Set XMP metadata.
49
50 Where: 'file.xmp' contains the XMP metadata to be set.
51
52
53 STRIP_OPTIONS (-strip)
54 icc Strip ICC profile.
55
56 exif Strip EXIF metadata.
57
58 xmp Strip XMP metadata.
59
60
61 FRAME_OPTIONS (-frame)
62 file_i +di[+xi+yi[+mi]]
63 Where: 'file_i' is the i'th frame (WebP format), 'xi','yi' spec‐
64 ify the image offset for this frame, 'di' is the pause duration
65 before next frame and 'mi' is the dispose method for this frame
66 (0 for NONE or 1 for BACKGROUND). Additionally, if 'mi' is
67 ommitted then'xi' and 'yi' can be omitted and will default to
68 +0+0.
69
70 -loop n
71 Loop the frames n number of times. 0 indicates the frames should
72 loop forever. Valid range is 0 to 65535 [Default: 0 (infi‐
73 nite)].
74
75 -bgcolor A,R,G,B
76 Background color of the canvas.
77 where: 'A', 'R', 'G' and 'B' are integers in the range 0 to 255
78 specifying the Alpha, Red, Green and Blue component values
79 respectively [Default: 255,255,255,255].
80
81
82 INPUT
83 Input file in WebP format.
84
85
86 OUTPUT (-o)
87 Output file in WebP format.
88
89
90 Note:
91 The nature of EXIF, XMP and ICC data is not checked and is assumed to
92 be valid.
93
94
96 Please report all bugs to our issue tracker:
97 http://code.google.com/p/webp/issues
98 Patches welcome! See this page to get started: http://www.webmpro‐
99 ject.org/code/contribute/submitting-patches/
100
101
103 webpmux -set icc image_profile.icc in.webp -o icc_container.webp
104 webpmux -get icc icc_container.webp -o image_profile.icc
105 webpmux -strip icc icc_container.webp -o without_icc.webp
106 webpmux -set xmp image_metadata.xmp in.webp -o xmp_container.webp
107 webpmux -get xmp xmp_container.webp -o image_metadata.xmp
108 webpmux -strip xmp xmp_container.webp -o without_xmp.webp
109 webpmux -set exif image_metadata.exif in.webp -o exif_container.webp
110 webpmux -get exif exif_container.webp -o image_metadata.exif
111 webpmux -strip exif exif_container.webp -o without_exif.webp
112 webpmux -frame anim_1.webp +100 -frame anim_2.webp +100+50+50 -loop 10
113 -bgcolor 255,255,255,255 -o anim_container.webp
114 webpmux -get frame 2 anim_container.webp -o frame_2.webp
115
116
118 webpmux is written by the WebP team.
119 The latest source tree is available at http://www.webmproject.org/code
120
121 This manual page was written by Vikas Arora <vikaas.arora@gmail.com>,
122 for the Debian project (and may be used by others).
123
124
126 dwebp(1), cwebp(1), gif2webp(1).
127 Please refer to http://developers.google.com/speed/webp/ for additional
128 information.
129
130
131
132 March 16, 2013 WEBPMUX(1)