You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that it currently only supports 8-bit components, while modern formats like AVIF also exist in 10-bit or 12-bit depth, or even 16-bit for PNG. In practice, the output from a crate like dav1d will always use 16-bit components, with e.g. six bits left to zero and ten bits encoding the component value, for each plane.
Hi, first of all thanks for this crate, it made AVIF support in image-rs very easy to write!
The issue is that it currently only supports 8-bit components, while modern formats like AVIF also exist in 10-bit or 12-bit depth, or even 16-bit for PNG. In practice, the output from a crate like dav1d will always use 16-bit components, with e.g. six bits left to zero and ten bits encoding the component value, for each plane.
You can find some sample files here for instance: https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Link-U
The text was updated successfully, but these errors were encountered: