servo/components/pixels
Jonathan Schwender 42e873e9d9
pixels: Fix webp detection (#35474)
According to the riff_container specification, the suffix is only WEBP.
Additionally, this commit also verifies that the length of the byte
buffer matches the length declared by the riff header.

Source: https://developers.google.com/speed/webp/docs/riff_container

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-02-19 11:09:16 +00:00
..
benches.rs Update pixels::unmultiply_inplace to support RB swap and use it in canvas_state (#35313) 2025-02-06 05:02:49 +00:00
Cargo.toml Add a benchmark for for unmultiply_inplace in pixels (#33584) 2024-09-30 10:56:18 +00:00
lib.rs pixels: Fix webp detection (#35474) 2025-02-19 11:09:16 +00:00