Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

libwebp static binaries for Mac OSX and Linux and Windows

License

NotificationsYou must be signed in to change notification settings

caed0/libwebp-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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).

NPM Downloads

Sources of the binaries

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.

Installation

Install via npm:

npm install libwebp-static

Usage

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!");

Building the project

Theunzip,tar CLI executables need to be installed. On macOS, usebrew install gnu-tar xz.

License

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.


[8]ページ先頭

©2009-2025 Movatter.jp