sergei-grechanik / tupimage

A utility to upload and display terminal images using the unicode placeholder extension of the kitty graphics protocol
MIT No Attribution
9 stars 1 forks source link

Animation #6

Open v4u6h4n opened 2 months ago

v4u6h4n commented 2 months ago

Hey there, thanks for sharing this code, it's great. I'm just wondering how tricky it would be to implement animation support? I'm playing around with this to make a twitch chat for my terminal, and have animated emotes.

sergei-grechanik commented 2 months ago

In the kitty graphics protocol, animation frames are sent one-by-one, so one would need to extract frames and delays from an animation file and then send them. Quite a bit of work, but should be straightforward.