RESOLVED FIXED 270180
[AVIF Downlevels] Allow pixi property to be missing in AVIF images
https://bugs.webkit.org/show_bug.cgi?id=270180
Summary [AVIF Downlevels] Allow pixi property to be missing in AVIF images
Said Abou-Hallawa
Reported 2024-02-27 10:58:22 PST
The avif.h has this comment about AVIF_STRICT_PIXI_REQUIRED // Requires the PixelInformationProperty ('pixi') be present in AV1 image items. libheif v1.11.0 // or older does not add the 'pixi' item property to AV1 image items. If you need to decode AVIF // images encoded by libheif v1.11.0 or older, be sure to disable this bit. (This issue has been // corrected in libheif v1.12.0.) AVIF_STRICT_PIXI_REQUIRED = (1 << 0), Some pages like https://iad.anm.co.uk/test_image1.html may still have their images created with libheif v1.11.0 or older. The macOS Ventura and Sonoma, Chrome and FireFox can show these images without a problem. On macOS Monterey we use the open source libavif with the maximum strictness. Decoding these images fail because AVIF_STRICT_PIXI_REQUIRED is enabled. So we need to remove this restriction to be compatible with newer OSs and other browsers.
Attachments
Said Abou-Hallawa
Comment 1 2024-02-27 10:58:44 PST
Said Abou-Hallawa
Comment 2 2024-02-27 11:03:38 PST
EWS
Comment 3 2024-03-03 11:52:14 PST
Committed 275608@main (345ed1bf70a2): <https://commits.webkit.org/275608@main> Reviewed commits have been landed. Closing PR #25183 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.