Image module

encode_qoi

procedure · 1 overloadsince 0.28.0Source

Encodes as QOI with 3 channels, or 4 when the image has alpha. Gray is written as colour.

encode_qoi :: (image: Image) -> [] u8

Encodes as QOI with 3 channels, or 4 when the image has alpha. Gray is written as colour.

Parameters

image: Image

Returns

[] u8

See also