little-kitty 0.0.3

A low-level interface for the Kitty Graphics Protocol
Documentation
use little_kitty::{command::*, common::*};

// PNG is natively supported and is thus the most efficient format
const FILE: &str = "assets/media/linux.png";

fn main() {
    release_image(1).expect("release_image");

    Command::default()
        // quiet (suppress OK and error responses)
        .with_control('q', 2)
        // action = transmit and place
        .with_control('a', 'T')
        // format = PNG
        .with_control('f', 100)
        // transmission medium = file
        .with_control('t', 'f')
        // Image ID
        .with_control('i', 1)
        .execute_with_path_payload(FILE)
        .expect("execute_with_path_payload");
}