Files
serenity/Userland/Libraries/LibGfx/ImageFormats/WebPWriter.cpp
Nico Weber 4156d69cbe LibGfx/WebPWriter: Opt in WebPAnimationWriter to inter frame compression
No effect on sunset-retro.png since that's not animated.

        wow.gif (nee giphy.gif) (184k):
            1.4M -> 255K
            74.0 ms ± 1.1 ms -> 86.9 ms ± 3.3 ms

    (from 7.6x as big as the gif input to 1.4x as big.
    About 82% smaller, for a 16% slowdown.)

        7z7c.gif (11K):
            8.4K -> 8.6K
            12.9 ms ± 0.5 ms -> 12.7 ms ± 0.5 ms

    (2.4% bigger, so the transform makes things a bit worse for this
    image.)
2024-07-04 10:04:54 +02:00

16 KiB