-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potentially make 'pixi' optional iff it's [8,8,8]/[8] #9
Comments
for properties that are optional in HEIF, like pixi, we should be clearer what the default is anyway (in this case, 'ask the codec') |
At Akamai, we have encoded many AVIF images with the affected version of libheif. It isn't necessarily easy, practical, or possible to replace or reencode all of these long lived images. |
Considering the statement in ISOBMFF (14496-12:2020) § 12.1.5.1:
Should there be something similar here?
The options that occur to me are:
Unlike with |
I agree. The whole point of mandating |
Yes. One could argue that this enables one to fix a stream that's mislabeled internally, but I think the right way to fix it is to fix the internals. Mislabeled color does sometimes happen, and it can help to be able to fix it externally. Mislabeled pixel info seems unlikely. |
Accepted into MIAF 2nd edition. We will add a note warning implementers that there may be files in existence lacking the |
There was a brief period during which libheif was creating AVIF (which is derived from MIAF) files that were missing the 'pixi' property. This has now been fixed, but there are now some files in circulation that are technically invalid files due to MIAF requiring 'pixi' to be present.
While discussing this and other issues, we have heard feedback that HEIF/MIAF has a bit too much header size overhead, so one change that could mitigate both issues is to change MIAF from always strictly requiring 'pixi' to only requiring it if the content differs from a defined default.
If we make
[8,8,8]
the default for non-auxiliary images (main and thumbnail image items) and[8]
the default for auxiliary image items, we can most likely allow content creators to reduce header overhead and make most existing 'pixi'-less images valid.The text was updated successfully, but these errors were encountered: