1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:58:12 +00:00
serenity/Userland
Nico Weber 0d2e6162db LibGfx/WebP: Implement compressed ALPH chunk reading
A compressed ALPH chunk is a lossless webp bitstream, but without
the 5 byte "header" that stores width, height, is-alpha-channel-used
(it never is for an ALPH chunk since the ALPH chunk gets the alpha
data out of the lossless webp's green channel), and version fields.

For that reason, this cuts decode_webp_chunk_VP8L() into the
header-reading part and the remaining part, so that the remaining
part can be called by the ALPH reading routine.

Lossy webp files with a (losslessly) compressed alpha channel can
be found in the wild. Since we can't decode lossy webp data yet,
change the `#if 0` in decode_webp_chunk_VP8() to `#if 1` to test this.
2023-05-07 07:08:05 +02:00
..
Applets LibGUI: Make Application's construction fallible 2023-05-05 16:41:21 +01:00
Applications ThemeEditor: Remove one usage of DeprecatedString 2023-05-06 16:12:11 +01:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos LibGUI: Make Application's construction fallible 2023-05-05 16:41:21 +01:00
DevTools LibMarkdown+LibSyntax: Add a Markdown syntax highlighter 2023-05-05 17:08:40 +01:00
DynamicLoader DynamicLoader: Ensure that backtrace computation stops at _start 2023-04-23 14:30:59 +02:00
Games Base+Snake: Capitalize snake skin names 2023-05-06 22:19:41 +02:00
Libraries LibGfx/WebP: Implement compressed ALPH chunk reading 2023-05-07 07:08:05 +02:00
Services LibGfx+WindowServer: Ensure constrain-to-rect ends up inside the rect 2023-05-06 22:04:46 +02:00
Shell Shell: Rename the verb {lookup => look_up} 2023-05-05 09:35:24 +03:30
Utilities Everywhere: Change spelling of 'behaviour' to 'behavior' 2023-05-07 01:05:09 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00