Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansi: kitty graphics: implement basic protocol features #322

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas commented Jan 13, 2025

This adds support for writing images in the Kitty Graphics protocol. The
protocol is used to transmit images over the terminal using escape
sequences. The protocol supports 24-bit RGB, 32-bit RGBA, and PNG
formats. Images can be compressed using zlib and transmitted in chunks.

This also adds the building blocks to support the Kitty Graphics Unicode image placeholders feature to put images in specified locations based on special Unicode characters.

Added tests in #326

@aymanbagabas aymanbagabas changed the title kitty graphics: implement basic protocol features ansi: kitty graphics: implement basic protocol features Jan 13, 2025
This adds support for writing images in the Kitty Graphics protocol. The
protocol is used to transmit images over the terminal using escape
sequences. The protocol supports 24-bit RGB, 32-bit RGBA, and PNG
formats. Images can be compressed using zlib and transmitted in chunks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant