[][src]Crate ravif

Structs

Config

Encoder configuration struct

Img

Basic struct used for both owned (alias ImgVec) and borrowed (alias ImgRef) image fragments.

Enums

ColorSpace

See Config

Functions

cleared_alpha

Clear/change RGB components of fully-transparent RGBA pixels to make them cheaper to encode with AV1

encode_rgba

Make a new AVIF image from RGBA pixels

Type Definitions

RGBA8

8-bit RGBA, alpha is last. 0 = transparent, 255 = opaque.