AOMediaCodec / av1-avif

AV1 Image File Format Specification - ISO-BMFF/HEIF derivative
https://aomediacodec.github.io/av1-avif/
BSD 2-Clause "Simplified" License
463 stars 40 forks source link

Add restrictions on 'clap' item property #188

Closed leo-barnes closed 1 week ago

leo-barnes commented 2 years ago

Per the last meeting, the consensus was that we should add a restriction like the following on 'clap' to minimise the risk of it being misused: The origin of the 'clap' item property shall be anchored to 0,0 (top-left) unless the full, un-cropped image item is included as a secondary item in an image collection.

This allows 'clap' to be used for dealing with HW limitations (since those typically only require padding along the right/bottom edge). The exception also allows for more advanced camera features while making sure that users are not surprised about what is contained in the file.