Crate avif_serialize
source ·Expand description
AVIF image serializer (muxer)
Usage
-
Compress pixels using an AV1 encoder, such as rav1e. libaom works too.
-
Call
avif_serialize::serialize_to_vec(av1_data, None, width, height, 8)
See cavif for a complete implementation.
Structs
Config for the serialization (allows setting advanced image properties).