add support for apng and webp animated image decoding (#37637)

Add support for APNG animated image decoding. Rework `load_from_memory`
image decoding api, to handle all the image format that currently
supported.

Testing: This change should allow `apng` and `webp` format image start
moving, and should make some WPT test related to APNG pass.

Partially address: https://github.com/servo/servo/issues/37493

[wpt try
run](https://github.com/rayguo17/servo/actions/runs/15840339570)

cc @xiaochengh

Signed-off-by: rayguo17 <rayguo17@gmail.com>
This commit is contained in:
TIN TUN AUNG 2025-07-10 16:54:16 +08:00 committed by GitHub
parent ff050b71fa
commit f88dd2a12c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 151 additions and 74 deletions

View file

@ -1,2 +0,0 @@
[fcTL-acTL-ordering.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-blend-over-repeatedly.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-blend-over-solid.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-blend-source-solid.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-blend-source-transparent.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-dispose-background-final.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-dispose-before-region-background.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-dispose-in-region-previous.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-dispose-previous-final.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-dispose-previous-first.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fcTL-dispose-previous.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fdAT-1bit-PLTE.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fdAT-2bit-PLTE-tRNS.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fdAT-8bit-gray.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fdAT-split-basic.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[fdAT-split-zero-length.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[first-frame-not-IDAT.html]
expected: FAIL