Appearance
iTerm2 Inline Images (OSC 1337) โ
iTerm2 inline images use the proprietary OSC 1337 protocol to display images directly in terminal output. The image data is base64-encoded and transmitted inline with the escape sequence. iTerm2 supports PNG, JPEG, GIF, and other formats.
This protocol predates the Kitty graphics protocol and is simpler but less capable โ it lacks features like image placement, animation control, and chunked transfer. Several other terminals (WezTerm, mintty) have adopted the iTerm2 protocol alongside or instead of Kitty graphics. The protocol is documented in iTerm2's documentation but has no formal specification.
How this is tested: Check if the terminal responds to iTerm2 capability queries (OSC 1337) indicating inline image support.
Analysis2026-03-26
Supported by 7 of 8 terminals (88%). Not supported by: Cursor. Part of the Rich TUI baseline.
Supported by 10 of 13 backends (77%)
Terminal Applications โ
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | โ yes | |
| Ghostty | 1.3.1 | โ yes | |
| VS Code | 1.112.0 | โ yes | |
| Warp | 0.2026.03.18.08.24.03 | โ yes | |
| Cursor | 2.6.21 | โ yes | |
| tmux | 3.6a | โ yes | |
| Kitty | 0.46.2 | โ yes | iTerm2 inline images not supported by kitty |
| Terminal.app | 2.15 | โ yes | |
| GNU Screen | 5.0.1 | โ yes |
Headless Backends โ
Parser correctness only โ a โ means the parser accepts the sequence.
| Backend | Version | Support | Notes |
|---|---|---|---|
| vterm | 0.2.0 | โ yes | |
| Alacritty | 0.26.0 | โ no | iTerm2 inline images not supported by alacritty |
| vt100 | 0.2.1 | โ no | Not implemented โ pure TypeScript emulator |
| WezTerm | 0.1.0-fork.5 | โ no | iTerm2 inline images not supported by wezterm |