Skip to content

Fix AVIF signature mask#2999

Merged
Shnatsel merged 1 commit into
image-rs:mainfrom
RunDevelopment:fix-avif-sig
May 30, 2026
Merged

Fix AVIF signature mask#2999
Shnatsel merged 1 commit into
image-rs:mainfrom
RunDevelopment:fix-avif-sig

Conversation

@RunDevelopment
Copy link
Copy Markdown
Member

Addresses L36 from #2954.

The first 4 bytes should be ignored according to this and this.

Copy link
Copy Markdown
Member

@Shnatsel Shnatsel left a comment

Choose a reason for hiding this comment

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

The references are a bit muddled - this doesn't add support for matching ftypmif1 images as described in fdintino/pillow-avif-plugin#5

But this does correctly mask size bytes as per the spec

@Shnatsel Shnatsel merged commit ee14c7f into image-rs:main May 30, 2026
31 checks passed
@RunDevelopment RunDevelopment deleted the fix-avif-sig branch May 30, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants