scorpiox-renderimage๐จ build
Render images directly in the terminal using ANSI escape sequences and Sixel graphics protocols.
Linux x64
Linux ARM64
macOS ARM64
Windows x64
๐ Description
scorpiox-renderimage converts image files (PNG, JPEG, BMP, GIF) into terminal-compatible output using ANSI 24-bit color escape sequences or Sixel graphics. It auto-detects terminal capabilities and selects the best rendering protocol. Ideal for previewing images in SSH sessions, CI logs, and headless environments without a GUI.
๐ก Usage Examples
Render a PNG image in the terminal
$ scorpiox-renderimage screenshot.png
โโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ [image rendered] โ
โโโโโโโโโโโโโโโโโโโโโโโโ
Preview images over SSH
$ ssh devbox "scorpiox-renderimage /var/captures/error.png"
$ scorpiox-screenshot && scorpiox-renderimage screenshot_0.bmp
Render different image formats
$ scorpiox-renderimage photo.jpg
$ scorpiox-renderimage capture.bmp
$ scorpiox-renderimage animation.gif
CI/CD pipeline image verification
$ python3 generate_chart.py --output report.png
$ scorpiox-renderimage report.png
$ echo "=== BEFORE ===" && scorpiox-renderimage before.png
$ echo "=== AFTER ===" && scorpiox-renderimage after.png
Combine with scorpiox-bmp2png
$ scorpiox-screenshot
$ scorpiox-bmp2png screenshot_0.bmp output.png
$ scorpiox-renderimage output.png
Sixel-capable terminals
$ scorpiox-renderimage logo.png
[renders pixel-accurate image via Sixel protocol]