Function sixel_bytes::sixel_string

source ·
pub fn sixel_string(
    bytes: &[u8],
    width: i32,
    height: i32,
    pixelformat: PixelFormat,
    method_for_diffuse: DiffusionMethod
) -> Result<String, SixelError>
Expand description

Encode image bytes to a String containing the sixel data.

The bytes must match the width, height, and “pixelformat”.