Crate ravif[−][src]
Structs
Encoder configuration struct
Basic struct used for both owned (alias ImgVec
) and borrowed (alias ImgRef
) image fragments.
Enums
See Config
Functions
Clear/change RGB components of fully-transparent RGBA pixels to make them cheaper to encode with AV1
If config.color_space is ColorSpace::YCbCr, then it takes 8-bit BT709 color space.
Make a new AVIF image from RGB pixels
Make a new AVIF image from RGBA pixels (non-premultiplied, alpha last)