diff options
author | Nico Weber <thakis@chromium.org> | 2023-05-29 19:19:29 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-30 06:14:56 +0200 |
commit | b7e31ba19499f7be8f89fb0d2a4b5adb7b30d8a1 (patch) | |
tree | 7111a7e6730c08d3efc96ca59d812a0e34a8ddf0 /Ports/opusfile | |
parent | a22cbc9a2814071279cdc29f1ca966819eba0cf3 (diff) | |
download | serenity-b7e31ba19499f7be8f89fb0d2a4b5adb7b30d8a1.zip |
WebP/Lossy: Add test for lossy webp with uncompressed alpha
The alpha channel of a lossy webp is always stored separately from
the (lossy) RGB data. Alpha is either compressed in a lossless webp
that stores just the alpha data, or it's stored completely
uncompressed. (But again, even if it's compressed, it's losslessly
compressed.)
This adds a test for uncompressed alpha, which I hadn't tested before.
It seems to work correctly, though :^)
I generated the test image by running:
~/Downloads/libwebp-1.3.0-mac-arm64/bin/cwebp \
-alpha_method 0 \
Tests/LibGfx/test-inputs/extended-lossless.webp \
-o Tests/LibGfx/test-inputs/extended-lossy-uncompressed-alpha.webp
Diffstat (limited to 'Ports/opusfile')
0 files changed, 0 insertions, 0 deletions