terminal-image is a Node.js package for displaying images directly inside color-capable terminal applications. It supports PNG and JPEG files as well as animated GIF playback. Terminals with native graphics protocols, including compatible iTerm2 and Kitty environments, can display images at full resolution. Other terminals fall back to colored Unicode block characters using ANSI output. Developers can specify image width and height as terminal dimensions or percentages while preserving aspect ratio by default. The package accepts both image files and in-memory buffers. GIF rendering includes configurable frame-rate limits and custom frame handlers, making the library suitable for rich CLI previews and media-oriented terminal tools.

Features

  • PNG and JPEG terminal rendering
  • Animated GIF playback
  • Kitty and iTerm2 native graphics support
  • ANSI block-character fallback rendering
  • Configurable image dimensions and aspect ratio
  • File and in-memory buffer input

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow terminal-image

terminal-image Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of terminal-image!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Terminals

Registered

2026-09-09