Derive some avif test images from existing Pillow test images

Replace chimera-missing-pixi.avif and rgba10.heif with images derived
from the pillow "hopper" test image.
This commit is contained in:
Frankie Dintino 2025-03-31 09:38:34 -04:00
parent eff26805f7
commit fb096e15cc
No known key found for this signature in database
GPG Key ID: 97E295AACFBABD9E
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -566,7 +566,7 @@ class TestFileAvif:
def test_decoder_strict_flags(self) -> None:
# This would fail if full avif strictFlags were enabled
with Image.open("Tests/images/avif/chimera-missing-pixi.avif") as im:
with Image.open("Tests/images/avif/hopper-missing-pixi.avif") as im:
assert im.size == (480, 270)
@skip_unless_avif_encoder("aom")
@ -672,7 +672,7 @@ class TestAvifAnimation:
def test_heif_raises_unidentified_image_error(self) -> None:
with pytest.raises(UnidentifiedImageError):
with Image.open("Tests/images/avif/rgba10.heif"):
with Image.open("Tests/images/avif/hopper.heif"):
pass
@pytest.mark.parametrize("alpha_premultiplied", [False, True])