mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
The semantics of BGRx8888 aren't super clear and it means different things for different parts of the codebase. In particular, the PNG writer still writes the x channel to the alpha channel of its output. In BMPs, the 4th palette byte is usually 0, which means after #21412 we started writing all .bmp files with <= 8bpp as completely transparent to PNGs. This works around that. (See also #19464 for previous similar workarounds.) The added `bitmap.bmp` is a 1bpp file I drew in Photoshop and saved using its "Save as..." saving path.
20 KiB
20 KiB
