pub fn encode_kitty(id: u32, data: &[u8], _mime_type: &str) -> StringExpand description
Encode image data for the Kitty graphics protocol.
The data is base64-encoded and chunked with m=1 (more data follows)
delimiters. Each chunk is up to 4096 bytes of base64 text.