term.gfx.proto.send_png

term.gfx.proto

send_png(data_or_path, options, use_sync) -> ok, err

Send a PNG image to the terminal

Transmits a PNG image using the Kitty graphics protocol. Sets f=100 (PNG format) and a defaults to "T" (transmit and display). Routes to the appropriate transport based on options.t:

Common options: i (image ID), c/r (display columns/rows), z (z-index), C=1 (no cursor movement). Defaults q=2 (suppress OK responses).