Utilities
Convert a PNG to lossless WebP
webp-encode is a lossless PNG-to-WebP encoding node powered by cwebp.
Free plan: 1 user, 3 execution slots, no card.
overview
What webp-encode does
Encode one 8-bit RGB or RGBA PNG with native cwebp. The result is a lossless WebP image, preserving pixels rather than the PNG encoding. Source bytes remain unchanged. Resizing and metadata copying are outside this operation.
8-bit RGB/RGBA PNG to native lossless WebP only; 16 MiB, 4096x4096, 60 seconds, 512 MiB address space; exact pixel roundtrip checks
Input or native processing failures fail the operation. The operation keeps the supplied source unchanged.
This operation uses 1.2.4-deb12u1. Upstream license: BSD-3-Clause. The source link identifies the program used by this node.
source chromium.googlesource.com/webm/libwebp/+/v1.2.4
image quay.io/trickest/webp-encode:1.2.4-deb12u1
use cases
webp-encode use cases
Create lossless web images
Convert supplied PNG pixels to a VP8L WebP artifact.
Preserve transparent pixels
Encode RGBA PNG input without choosing a lossy quality setting.
Keep conversion reproducible
Keep the supplied PNG and review the returned WebP separately.
reference
webp-encode inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| image | FILE | --image | 8-bit RGB/RGBA PNG, up to 16 MiB and 4096x4096 pixels. Native lossless encoding, 60 seconds, 512 MiB address space, 32 MiB output. No resizing or metadata copy; symlinks refused. |
Showing key inputs. webp-encode exposes 1 inputs in total.
example
webp-encode command examples
python3 /app/run.py --image ./input.txt ./outputguidance
webp-encode vs alternatives
Choose this node for a fixed lossless PNG-to-WebP conversion. ImageMagick offers broader image processing; JPEG optimization is a separate operation.
| Tool | Pick it when |
|---|---|
| imagemagick | Provides general image conversion; this node exposes only lossless PNG-to-WebP encoding. |
faq
webp-encode FAQ
related
More Utilities tools
dnsgen
Wordlist and mined-word subdomain permutation.
pup
CSS selectors over HTML, the jq counterpart for markup.
unfurl
Extract chosen URL parts from stdin into clean line lists.
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
Run webp-encode yourself
The synthetic run checks lossless webp. The saved verifier records the result; this text page does not reproduce the native artifact. The command shown is the container entrypoint with example paths, not a host-installed CLI command.
Facts on this page come from the live Trickest tool library.