python-imgcat icon indicating copy to clipboard operation
python-imgcat copied to clipboard

Add kitty graphics protocol support

Open wookayin opened this issue 4 years ago • 6 comments

Work in progress. Upstream issue: #4

https://sw.kovidgoyal.net/kitty/graphics-protocol.html

  • [x] works on plain kitty terminal e.g. python -m imgcat FILENAME.png or imgcat(np.array(...))

  • [ ] tmux support: it can print graphics, but they do not get cleared well

    • pixels per line information is missing, so it is quite difficult to allocate proper amount of spaces
  • [ ] Support all parameters

/cc @teto

wookayin avatar Apr 02 '20 03:04 wookayin

Any chance this will get merged?

ElPiloto avatar Nov 17 '21 15:11 ElPiloto

I'll finish this soon. Thanks for bumping up!

wookayin avatar Nov 17 '21 16:11 wookayin

Bumping this PR! I would also find this very useful.

kzhang2 avatar Mar 30 '22 16:03 kzhang2

Would be great to have this merged

newzealandpaul avatar Apr 19 '23 04:04 newzealandpaul

I can merge this soon, but it's really annoying (currently impossible) to make imgcat work well inside tmux. This is the limitation of kitty.

wookayin avatar Apr 19 '23 22:04 wookayin