WebP to PNG or BMP
Decode a static lossy or lossless WebP locally in your browser. A statically
linked libwebp component produces 32-bit BGRA BMP; PNG output adds QIP's
BMP-to-PNG component. The image is not uploaded.
The decoder accepts files up to 64 MiB and images up to 25 MP. Animated WebP
is rejected rather than reduced to one frame. The worker is discarded after
each conversion so its 448 MiB fixed Wasm memory is released.
PNG output currently inherits bmp-to-png.wasm's 8 MiB BMP input capacity,
which is roughly 2 MP for a 32-bit image. Larger images can still be downloaded
as BMP.
Components #
CLI equivalent #
qip run components/image/webp/webp-to-bmp-bgra32.wasm \
< input.webp > output.bmp
qip run components/image/webp/webp-to-bmp-bgra32.wasm \
components/image/bmp/bmp-to-png.wasm \
< input.webp > output.png