Registry / utility / webp-ffi

webp-ffi

JSON →
library0.4.0rbrubygemsunverified

Ruby wrapper for libwebp

gem install webp-ffi
INSTALL
IMPORT
SIG · WEBP-FFI
W
webp-ffi
utilityrubyv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebP
require 'webp-ffi'

Encode a PNG image to WebP format

require 'webp-ffi' WebP.encode(File.read('input.png'), quality: 80)
Debug
Known issues
gotchaRequires libwebp library installed on system
fix
Install libwebp via package manager (e.g., apt install libwebp-dev)
affects: >= 0.0.0
Upgrade
Version history
0.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
webp-ffi — gem install webp-ffi · libregistry