encodeHeif function
Encodes straight RGBA8 as HEIC with lossless alpha.
Implementation
Uint8List encodeHeif(
Image image, {
HeifEncodeOptions? options,
}) => const HeifEncoder().encode(
image,
encodeOptions: options,
);
Encodes straight RGBA8 as HEIC with lossless alpha.
Uint8List encodeHeif(
Image image, {
HeifEncodeOptions? options,
}) => const HeifEncoder().encode(
image,
encodeOptions: options,
);