mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
LibGfx+Tests: Add test for webp ICC loading and fix bug
I drew the two webp files in Photoshop and saved them using the "Save a Copy..." dialog, with ICC profile and all other boxes checked. (I also tried saving with all the boxes unchecked, but it still wrote an extended webp instead of a basic file.) The lossless file exposed a bug: I didn't handle chunk padding correctly before this patch.
This commit is contained in:
parent
7485521619
commit
14c0bae704
4 changed files with 45 additions and 0 deletions
BIN
Tests/LibGfx/test-inputs/extended-lossless.webp
Normal file
BIN
Tests/LibGfx/test-inputs/extended-lossless.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
Tests/LibGfx/test-inputs/extended-lossy.webp
Normal file
BIN
Tests/LibGfx/test-inputs/extended-lossy.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
Loading…
Add table
Add a link
Reference in a new issue