Skip to content

Conversation

@brunoais
Copy link

From the spec, this only covers the most common format for AVIF images. I can't do more because the alternatives are speced behind a paywall.
AVIF: https://aomediacodec.github.io/av1-avif/v1.1.0.html
Points to HEIF: https://www.iso.org/standard/66067.html

@brunoais brunoais force-pushed the add_avif_support branch from aa9ea80 to 3ce9db2 Compare May 21, 2023 11:56
From the spec, this only covers the most common format for AVIF images.
I can't do more because the alternatives are speced behind a paywall.
AVIF: https://aomediacodec.github.io/av1-avif/v1.1.0.html
Points to HEIF: https://www.iso.org/standard/66067.html
@brunoais brunoais force-pushed the add_avif_support branch from 3ce9db2 to 1ed40d7 Compare May 21, 2023 11:59
height = -1
width = -1
data = input.read(26)
data = input.read(28)
Copy link
Author

Choose a reason for hiding this comment

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

Added 2 bytes because I thought it would be fine to read extra 2 bytes and it would allow an extra opportunity to identify if it's AVIF

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.

1 participant