Method EncodeTransmit
EncodeTransmit(Color[,], int)
Encodes a transmit-only (a=t) Kitty sequence: it sends the full image data under the given
imageId without creating a placement. The image stays resident in the terminal so
it can be displayed — and re-displayed with a different crop — via EncodePut(int, int, int, int, int, int, int, int) without
re-sending the pixels. Used to pan/zoom a static image with tiny per-frame placement updates instead
of re-transmitting the whole image every frame (which reads as a flash for large images).
public string EncodeTransmit(Color[,] pixels, int imageId)
Parameters
pixelsColor[,]The full source image to transmit, indexed as
[x, y].imageIdintThe stable image id (the Kitty
ikey).
Returns
- string
The complete Kitty APC transmit-only escape sequence (chunked).