image-to-ascii is a Node.js module that converts raster images into character-based terminal artwork. Input can come from a local file, remote URL, or in-memory Buffer. The converter maps pixel brightness to a configurable sequence of ASCII characters. It can preserve the original colors through ANSI foreground or background styles or generate plain monochrome output. Options control width, height, screen fitting, aspect ratio, transparency, reversed brightness, and custom background colors. Developers can receive a final string or work with the underlying pixel matrix through custom processing functions. A companion command-line package and webcam example provide additional ways to use the conversion engine.

Features

  • Local, remote, and Buffer image input
  • Colored ANSI terminal output
  • Custom ASCII character palettes
  • Automatic screen fitting
  • Aspect ratio preservation
  • Reversed and custom background rendering

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow image-to-ascii

image-to-ascii Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

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

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2026-07-23