Skip to content

Add inline image support (Kitty, iTerm2, Sixel)#35

Merged
meszmate merged 3 commits intomainfrom
feature/32-image-support
Feb 25, 2026
Merged

Add inline image support (Kitty, iTerm2, Sixel)#35
meszmate merged 3 commits intomainfrom
feature/32-image-support

Conversation

@meszmate
Copy link
Owner

Closes #32

  • Add Kitty graphics protocol image rendering (t=d and t=f with base64 chunking)
  • Add iTerm2 inline images via OSC 1337 (with multipart for large files)
  • Add Sixel support (pre-encoded .sixel files or img2sixel conversion)
  • Unified image_file command that auto-selects the best available protocol
  • Runtime protocol detection via terminal queries and env hints
  • Placement options: cursor, top_left, top_center, center with row/col offsets
  • supportsImages() / drawImageFromFile() on Context for easy usage
  • Updated hello_world example with responsive image demo
  • Added assets/cat.png demo image

@meszmate meszmate linked an issue Feb 25, 2026 that may be closed by this pull request
@meszmate meszmate merged commit e77693b into main Feb 25, 2026
9 checks passed
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.

image support

1 participant