{"repo":"ratatui/ratatui-image","free":true,"listed":false,"github":"https://github.com/ratatui/ratatui-image","clone":"git clone https://github.com/ratatui/ratatui-image.git","description":"Ratatui widget for rendering image graphics in terminals that support it","language":"Rust","stars":381,"topics":["graphics","rust","terminal","tui","kitty","sixel"],"license":"MIT","category":"cli-tools","readme_excerpt":"Ratatui-image [![CI Badge]][CI] [![Crate Badge]][Crate] [![Docs Badge]][Docs] [CI Badge]: https://img.shields.io/github/actions/workflow/status/ratatui/ratatui-image/ci.yaml?style=flat-square&logo=github [CI]: https://github.com/ratatui/ratatui-image/actions?query=workflow%3A [Crate Badge]: https://img.shields.io/crates/v/ratatui-image?logo=rust&style=flat-square [Crate]: https://crates.io/crates/ratatui-image [Docs Badge]: https://img.shields.io/docsrs/ratatui-image?logo=rust&style=flat-square [Docs]: https://docs.rs/ratatui-image/latest/ratatui image/index.html Showcase: Link to screenshot test suite with array of terminals (xterm, foot, kitty, wezterm, ghostty, rio, mlterm...) Image widgets with multiple graphics protocol backends for [ratatui] Unify terminal image rendering across Sixels, Kitty, and iTerm2 protocols. [ratatui] is an immediate-mode TUI library. ratatui-image tackles 3 general problems when rendering images with an immediate-mode TUI: Query the terminal for available graphics protocols Some terminals may implement one or more graphics protocols, such as Sixels, or the iTerm2 or Kitty graphics protocols. Guess by env vars. If that fails, query the terminal with some control sequences. Fallback to \"halfblocks\" which uses some unicode half-block characters with fore- and background colors. Query the terminal for the font-size in pixels. If there is an actual graphics protocol available, it is necessary to know the font-size to be able to map the image pixels t","default_branch":null,"files":null,"tree":[],"storefront":"/r/ratatui","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ratatui/ratatui-image/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}