- Notifications
You must be signed in to change notification settings - Fork0
libwebp static binaries for Mac OSX and Linux and Windows
License
caed0/libwebp-static
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Staticlibwebp binaries for macOS, Linux, Windows.
Provides precompiled static binaries for all tools of the libwebp library.
anim_diff
,anim_dump
,cwebp
,dwebp
,get_disto
,gif2webp
,img2webp
,vwebp
,webpinfo
,webpmux
,webp_quality
Supports macOS (64-bit and arm64), Linux (64-bit, arm64), Windows (64-bit).
The binaries download script downloads binaries from these locations:
The script extracts build information and (when possible) the license file from the downloaded package or the distribution server. Please consult the official WebP project for exact source versions.
Install via npm:
npm install libwebp-static
This package provides paths to the staticcwebp
anddwebp
binaries, so they can be used in your Node.js applications:
const{ cwebp, dwebp}=require("libwebp-static");const{ execFileSync}=require("child_process");execFileSync(cwebp,["input.png","-o","output.webp"]);console.log("Image converted to WebP!");
Theunzip
,tar
CLI executables need to be installed. On macOS, usebrew install gnu-tar xz
.
This project is licensed under theGPL-3.0 License.
The included WebP binaries are provided by Google and are subject to their own licensing terms. For more details, see theWebP licensing information.
About
libwebp static binaries for Mac OSX and Linux and Windows