Animated Webp gadget, a simple wrapper to libwebp, provides common batching functionality associated with Animated Webp (stupid method)

> NPM i-g awebp > awebp-h-h --help Dispose [method] [file] [outFile] dispose-method: 0 for NONE or 1 for BACKGROUND -q --quality [quality] [file] [outFile] Specify the compression between 0 and 100 -e --extract-frame [file] [outDir] : compose [frameDir] [outFile] [frameOpt] [loop] [bgColor] compose animated from multiple images Duration -f -- FPS [FPS] [file] [outFile] Modify duration, -l --loop [loop] [file] [outFile] -b --bg-color [bgColor] [file] [outFile] Change webP background color, A,R,G,B Examples: Awebp -d 0./test/test.webp // Dispose method of webp on each frame is 0. Awebp-c frames out. Webp +34+0+0+1+b 1 // Animated webp duration awebp -f 60./test/test.webp // Animated webp duration (60fps ~= 17) awebp-l 3./test/test.webp // Animated webp duration (60fps ~= 17) awebp-l 3 /test/test.webp // Modify the webp background colorCopy the code

Usage scenarios

  1. For webP overlap problem converted by FFMPEG, dispose method should be set as BACKGROUND
  2. Animated webp compression

TODO

  1. Compatible with other operating systems
  2. Perfecting the info command
  3. Command Time Statistics
  4. Background color input is compatible with more formats