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

Structs

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

Functions

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