mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +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:
parent
4e92027513
commit
737786f9a8
1 changed files with 0 additions and 0 deletions
BIN
Tests/LibGfx/test-inputs/smolkling-horizontal-alpha.webp
Normal file
BIN
Tests/LibGfx/test-inputs/smolkling-horizontal-alpha.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Add table
Add a link
Reference in a new issue