Skip to content

Updated libavif to 1.3.0 - #8949

Merged
hugovk merged 2 commits into
python-pillow:mainfrom
radarhere:libavif
May 23, 2025
Merged

Updated libavif to 1.3.0#8949
hugovk merged 2 commits into
python-pillow:mainfrom
radarhere:libavif

Conversation

@radarhere

Copy link
Copy Markdown
Member

Comment thread Tests/test_file_avif.py
with Image.open(out_gif) as reread:
reread_value = reread.convert("RGB").getpixel((1, 1))
difference = sum([abs(original_value[i] - reread_value[i]) for i in range(3)])
assert difference <= 3

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

original_value is (254, 255, 252)
Within libavif 1.2.1, reread_value is (253, 254, 251). With libavif 1.3.0, it is (252, 254, 249). This is still close to the original value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants