ratatui-image
Showcase:

Image widgets for Ratatui
⚠️ THIS CRATE IS EXPERIMENTAL
⚠️ THE TERMWIZ RATATUI BACKEND IS BROKEN WITH THIS CRATE
Render images with graphics protocols in the terminal with Ratatui.
Quick start
use ;
use ;
Example
See the [crate::picker::Picker] helper and examples/demo.
Current version: 0.2.0
Sixel compatibility and QA:
| Terminal | Fixed | Resize | Notes |
|---|---|---|---|
| Xterm | ✔️ | ✔️ | |
| Foot | ✔️ | ✔️ | |
| kitty | ✔️ | ✔️ | |
| Alacritty | ✔️ | ❌ | with sixel patch, never clears graphics. |
| iTerm2 | ❌ | ❌ | Unimplemented, has a protocolo similar to sixel |
| konsole | ❌ | ❌ | Does not clear graphics unless cells have a background style |
| Contour | ❌ | ❌ | Text over graphics |
| Wezterm | ❌ | ❌ | Buggy |
| ctx | ❌ | ❌ | Buggy |
| Blackbox | ❔ | ❔ | Untested |
Latest Xterm testing screenshot:

Halfblocks should work in all terminals.
Comparison:
- viuer Renders graphics in different terminals/protocols, but "dumps" the image, making it difficult to work for TUI programs. The terminal protocol guessing code has been adapted to rustix, thus the author of viuer is included in the copyright notice.
License: MIT