• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:preset +full:- +full:default

11 cwebp input.png -q 80 -o output.webp
15 a 0->100 scale (0 being the lowest quality, 100 being the best. Default value is
18 You might want to try the `-lossless` flag too, which will compress the source
19 (in RGBA format) without any loss. The `-q` quality parameter will in this case
23 A longer list of options is available using the `-longhelp` command line flag:
26 > cwebp -longhelp
28 cwebp [-preset <...>] [options] in_file [-o out_file]
31 If input size (-s) for an image is not specified, it is assumed to be a PNG,
37 -h / -help ............. short help
38 -H / -longhelp ......... long help
39 -q <float> ............. quality factor (0:small..100:big), default=75
40 -alpha_q <int> ......... transparency-compression quality (0..100),
41 default=100
42 -preset <string> ....... preset setting, one of:
43 default, photo, picture,
45 -preset must come first, as it overwrites other parameters
46 -z <int> ............... activates lossless preset with given
49 -m <int> ............... compression method (0=fast, 6=slowest), default=4
50 -segments <int> ........ number of segments to use (1..4), default=4
51 -size <int> ............ target size (in bytes)
52 -psnr <float> .......... target PSNR (in dB. typically: 42)
54 -s <int> <int> ......... input size (width x height) for YUV
55 -sns <int> ............. spatial noise shaping (0:off, 100:max), default=50
56 -f <int> ............... filter strength (0=off..100), default=60
57 -sharpness <int> ....... filter sharpness (0:most .. 7:least sharp), default=0
58 -strong ................ use strong filter instead of simple (default)
59 -nostrong .............. use simple filter instead of strong
60 -sharp_yuv ............. use sharper (and slower) RGB->YUV conversion
61 -partition_limit <int> . limit quality to fit the 512k limit on
63 -pass <int> ............ analysis pass number (1..10)
64 -qrange <min> <max> .... specifies the permissible quality range
65 (default: 0 100)
66 -crop <x> <y> <w> <h> .. crop picture with the given rectangle
67 -resize <w> <h> ........ resize picture (*after* any cropping)
68 -mt .................... use multi-threading if available
69 -low_memory ............ reduce memory usage (slower encoding)
70 -map <int> ............. print map of extra info
71 -print_psnr ............ prints averaged PSNR distortion
72 -print_ssim ............ prints averaged SSIM distortion
73 -print_lsim ............ prints local-similarity distortion
74 -d <file.pgm> .......... dump the compressed output (PGM file)
75 -alpha_method <int> .... transparency-compression method (0..1), default=1
76 -alpha_filter <string> . predictive filtering for alpha plane,
77 one of: none, fast (default) or best
78 -exact ................. preserve RGB values in transparent area, default=off
79 -blend_alpha <hex> ..... blend colors against background color
83 -noalpha ............... discard any transparency information
84 -lossless .............. encode image losslessly, default=off
85 -near_lossless <int> ... use near-lossless image preprocessing
86 (0..100=off), default=100
87 -hint <string> ......... specify image characteristics hint,
90 -metadata <string> ..... comma separated list of metadata to
92 Valid values: all, none (default), exif, icc, xmp
94 -short ................. condense printed message
95 -quiet ................. don't print anything
96 -version ............... print version number and exit
97 -noasm ................. disable all assembly optimizations
98 -v ..................... verbose, e.g. print encoding/decoding times
99 -progress .............. report encoding progress
105 -jpeg_like ............. roughly match expected JPEG size
106 -af .................... auto-adjust filter strength
107 -pre <int> ............. pre-processing filter
113 -preset -sns -f -m
117 * `preset` will set up a default encoding configuration targeting a particular
119 subsequent options can take effect on top of this preset. Default value is
120 'default'.
122 visual optimizations (like: segmentation map re-enforcement). This option
125 Usually, raising the sns value (at fixed -q value) leads to larger files,
128 in-loop processing. The higher the value, the smoother the highly-compressed
130 Typical values are around 20-30. Note that using the option
131 -strong/-nostrong will change the type of filtering. Use "-f 0" to turn
133 * `m` controls the trade-off between encoding speed and quality. Default is 4.
134 You can try -m 5 or -m 6 to explore more (time-consuming) encoding
147 ./dwebp test.webp -ppm -o test.ppm
151 The full list of options is available using -h:
154 > dwebp -h
155 Usage: dwebp in_file [options] [-o out_file]
158 Decodes the WebP image file to PNG format [Default]. Note: Animated WebP files
164 -pam ......... save the raw RGBA samples as a color PAM
165 -ppm ......... save the raw RGB samples as a color PPM
166 -bmp ......... save as uncompressed BMP format
167 -tiff ........ save as uncompressed TIFF format
168 -pgm ......... save the raw YUV samples as a grayscale PGM
170 -yuv ......... save the raw YUV samples in flat layout
176 -version ..... print version number and exit
177 -nofancy ..... don't use the fancy YUV420 upscaler
178 -nofilter .... disable in-loop filtering
179 -nodither .... disable dithering
180 -dither <d> .. dithering strength (in 0..100)
181 -alpha_dither use alpha-plane dithering if needed
182 -mt .......... use multi-threading
183 -crop <x> <y> <w> <h> ... crop output with the given rectangle
184 -resize <w> <h> ......... resize output (*after* any cropping)
185 -flip ........ flip the output vertically
186 -alpha ....... only save the alpha plane
187 -incremental . use incremental decoding (useful for tests)
188 -h ........... this help message
189 -v ........... verbose (e.g. print encoding/decoding times)
190 -quiet ....... quiet mode, don't print anything
191 -noasm ....... disable all assembly optimizations
211 -version ........... Print version number and exit.
212 -quiet ............. Do not show chunk parsing information.
213 -diag .............. Show parsing error diagnosis.
214 -summary ........... Show chunk stats summary.
215 -bitstream_info .... Parse bitstream header.
220 There's a little self-serve visualization tool called 'vwebp' under the
236 -version ..... print version number and exit
237 -noicc ....... don't use the icc profile if present
238 -nofancy ..... don't use the fancy YUV420 upscaler
239 -nofilter .... disable in-loop filtering
240 -dither <int> dithering strength (0..100), default=50
241 -noalphadither disable alpha plane dithering
242 -usebgcolor .. display background color
243 -mt .......... use multi-threading
244 -info ........ print info
245 -h ........... this help message
264 Linux: `sudo apt-get install freeglut3-dev mesa-common-dev`
274 https://hg.mozilla.org/mozilla-central/file/0e7639e3bdfb/gfx/qcms
284 $ make -f makefile.unix examples/vwebp
285 > nmake /f Makefile.vc CFG=release-static \
286 ../obj/x64/release-static/bin/vwebp.exe
298 img2webp [file_options] [[frame_options] frame_file]... [-o webp_file]
301 File-level options (only used at the start of compression):
304 -min_size ............ minimize size
305 -kmax <int> .......... maximum number of frame between key-frames
307 -kmin <int> .......... minimum number of frame between key-frames
308 (0=disable key-frames altogether)
309 -mixed ............... use mixed lossy/lossless automatic mode
310 -near_lossless <int> . use near-lossless image preprocessing
311 (0..100=off), default=100
312 -sharp_yuv ........... use sharper (and slower) RGB->YUV conversion
314 -loop <int> .......... loop count (default: 0, = infinite loop)
315 -v ................... verbose mode
316 -h ................... this help
317 -version ............. print version number and exit
320 Per-frame options (only used for subsequent images input):
323 -d <int> ............. frame duration in ms (default: 100)
324 -lossless ........... use lossless mode (default)
325 -lossy ... ........... use lossy mode
326 -q <float> ........... quality
327 -m <int> ............. method to use
330 example: `img2webp -loop 2 in0.png -lossy in1.jpg -d 80 in2.tiff -o out.webp`
333 tokenized from this file. The file name must not start with the character '-'.
344 gif2webp [options] gif_file -o webp_file
350 -h / -help ............. this help
351 -lossy ................. encode image using lossy compression
352 -mixed ................. for each frame in the image, pick lossy
354 -q <float> ............. quality factor (0:small..100:big)
355 -m <int> ............... compression method (0=fast, 6=slowest)
356 -min_size .............. minimize output size (default:off)
357 lossless compression by default; can be
358 combined with -q, -m, -lossy or -mixed
360 -kmin <int> ............ min distance between key frames
361 -kmax <int> ............ max distance between key frames
362 -f <int> ............... filter strength (0=off..100)
363 -metadata <string> ..... comma separated list of metadata to
365 Valid values: all, none, icc, xmp (default)
366 -loop_compatibility .... use compatibility mode for Chrome
368 -mt .................... use multi-threading if available
370 -version ............... print version number and exit
371 -v ..................... verbose
372 -quiet ................. don't print anything
381 $ make -f makefile.unix examples/gif2webp
387 $ ./configure --enable-everything
405 -dump_frames <folder> dump decoded frames in PAM format
406 -min_psnr <float> ... minimum per-frame PSNR
407 -raw_comparison ..... if this flag is not used, RGB is
409 -max_diff <int> ..... maximum allowed difference per channel
412 -h .................. this help
413 -version ............ print version number and exit
422 $ make -f makefile.unix examples/anim_diff
428 $ ./configure --enable-everything
438 A list of options is available using the -help command line flag:
441 > webpmux -help
442 Usage: webpmux -get GET_OPTIONS INPUT -o OUTPUT
443 webpmux -set SET_OPTIONS INPUT -o OUTPUT
444 webpmux -duration DURATION_OPTIONS [-duration ...]
445 INPUT -o OUTPUT
446 webpmux -strip STRIP_OPTIONS INPUT -o OUTPUT
447 webpmux -frame FRAME_OPTIONS [-frame...] [-loop LOOP_COUNT]
448 [-bgcolor BACKGROUND_COLOR] -o OUTPUT
449 webpmux -info INPUT
450 webpmux [-h|-help]
451 webpmux -version
496 'bi' is the blending method for this frame (+b or -b)
500 Valid range is 0 to 65535 [Default: 0 (infinite)].
507 [Default: 255,255,255,255]
515 tokenized from this file. The file name must not start with the character '-'.