Crate avif_serialize

Source
Expand description

§AVIF image serializer (muxer)

§Usage

  1. Compress pixels using an AV1 encoder, such as rav1e. libaom works too.

  2. Call avif_serialize::serialize_to_vec(av1_data, None, width, height, 8)

See cavif for a complete implementation.

Modules§

constants

Structs§

Aviffy
Config for the serialization (allows setting advanced image properties).

Functions§

serialize
Makes an AVIF file given encoded AV1 data (create the data with rav1e)
serialize_to_vec
See serialize for description. This one makes a Vec instead of using io::Write.