mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 12:56:23 +03:00
ab143e9b0e
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. |
||
---|---|---|
.. | ||
test-inputs | ||
BenchmarkGfxPainter.cpp | ||
BenchmarkJPEGLoader.cpp | ||
CMakeLists.txt | ||
TestDeltaE.cpp | ||
TestFontHandling.cpp | ||
TestGfxBitmap.cpp | ||
TestICCProfile.cpp | ||
TestImageDecoder.cpp | ||
TestPainter.cpp | ||
TestParseISOBMFF.cpp | ||
TestRect.cpp | ||
TestScalingFunctions.cpp | ||
TestWOFF2.cpp | ||
TestWOFF.cpp |