summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/ComboBox.cpp
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2022-06-17 09:27:39 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-30 12:26:49 +0100
commit9aafaec259b1c2ff17958b30afd75055c56a3489 (patch)
treec11390e3a30429070b5fe802aab4fd0b0327dab5 /Userland/Libraries/LibGUI/ComboBox.cpp
parent0de0de35367d130dd72fe11b489cf50d22b68933 (diff)
downloadserenity-9aafaec259b1c2ff17958b30afd75055c56a3489.zip
LibGfx: Use ZlibCompressor for compressing PNG files
Previously we were hand-writing all the Zlib and raw Deflated data structures here, but now PNGs will be compressed using ZlibCompressor which will actually try to compress something! :^) Note that we don't do any filtering that should help compress data even more, but even now the results are pretty good: - screenshots of my Serenity desktop are take now about 55 KiB, where previously it was 3 MiB. - re-encoding NASA photo of the Earth[1] to PNG shows a 2x improvement (34.3 MiB -> 16.5 MiB). [1]: https://commons.wikimedia.org/wiki/File:The_Blue_Marble_(remastered).jpg
Diffstat (limited to 'Userland/Libraries/LibGUI/ComboBox.cpp')
0 files changed, 0 insertions, 0 deletions