1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:57:35 +00:00

WebP: Add test image for horizontal image filtering

I opened smolkling.webp in Photoshop, added a layer mask with a
horizontal gradient, and saved it as webp. That wasn't enough to
get a horizontal filter for the ALPH chunk though, so I also ran

    cwebp \
        -alpha_filter best \
        smolkling-ps.webp \
        -o Tests/LibGfx/test-inputs/smolkling-horizontal-alpha.webp

That did the trick.

(Looks like doing the same with a vertical or diagonal gradient
_also_ produces a webp file with filtering_method 1, i.e. horizontal.)
This commit is contained in:
Nico Weber 2023-06-07 11:52:01 -04:00 committed by Tim Flynn
parent 4e92027513
commit 737786f9a8

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB