1GIF2WEBP(1) General Commands Manual GIF2WEBP(1)
2
3
4
6 gif2webp - Convert a GIF image to WebP
7
9 gif2webp [options] input_file.gif -o output_file.webp
10
12 This manual page documents the gif2webp command.
13
14 gif2webp converts a GIF image to a WebP image.
15
17 The basic options are:
18
19 -o string
20 Specify the name of the output WebP file. If omitted, gif2webp
21 will perform conversion but only report statistics.
22
23 -h, -help
24 Usage information.
25
26 -version
27 Print the version number (as major.minor.revision) and exit.
28
29 -lossy Encode the image using lossy compression.
30
31 -q float
32 Specify the compression factor for RGB channels between 0 and
33 100. The default is 75.
34 In case of lossless compression (default), a small factor
35 enables faster compression speed, but produces a larger file.
36 Maximum compression is achieved by using a value of 100.
37 In case of lossy compression (specified by the -lossy option), a
38 small factor produces a smaller file with lower quality. Best
39 quality is achieved by using a value of 100.
40
41 -m int Specify the compression method to use. This parameter controls
42 the trade off between encoding speed and the compressed file
43 size and quality. Possible values range from 0 to 6. Default
44 value is 4. When higher values are used, the encoder will spend
45 more time inspecting additional encoding possibilities and
46 decide on the quality gain. Lower value can result is faster
47 processing time at the expense of larger file size and lower
48 compression quality.
49
50 -f int For lossy encoding only (specified by the -lossy option). Spec‐
51 ify the strength of the deblocking filter, between 0 (no filter‐
52 ing) and 100 (maximum filtering). A value of 0 will turn off
53 any filtering. Higher value will increase the strength of the
54 filtering process applied after decoding the picture. The higher
55 the value the smoother the picture will appear. Typical values
56 are usually in the range of 20 to 50.
57
58 -v Print extra information.
59
60 -quiet Do not print anything.
61
62
64 Please report all bugs to our issue tracker:
65 http://code.google.com/p/webp/issues
66 Patches welcome! See this page to get started: http://www.webmpro‐
67 ject.org/code/contribute/submitting-patches/
68
69
71 gif2webp picture.gif -o picture.webp
72 gif2webp -q 70 picture.gif -o picture.webp
73 gif2webp -lossy -m 3 picture.gif -o picture_lossy.webp
74 gif2webp -lossy -f 50 picture.gif -o picture.webp
75
76
78 gif2webp was written by the WebP team.
79 The latest source tree is available at http://www.webmproject.org/code
80
81 This manual page was written by Urvang Joshi <urvang@google.com>, for
82 the Debian project (and may be used by others).
83
84
86 dwebp(1), cwebp(1), webpmux(1).
87 Please refer to http://developers.google.com/speed/webp/ for additional
88 information.
89
90
91
92 February 01, 2013 GIF2WEBP(1)