img-cat
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

img-cat

Displays images in your terminal using 256-color mode. Can display PNG, GIF, and JPEG images. Requires a 256-color terminal. GNU Screen does not support 256-color mode out of the box, so search for how to enable that if you're having issues.

Installation

npm install -g img-cat

Usage

usage: img-cat [options] [--] [images]
  -h, --help, -?       display this help text
  -v, --version        display version string
  --copyright          display copyright information

Tips

You can store the output of img-cat to a file and then simply cat it later to view it.

Example:

img-cat cool.png > cool.ansi
cat cool.ansi

And then you can add cat cool.ansi to your ~/.bashrc or ~/.zshrc to have it print out when you open a terminal.

Package Sidebar

Install

npm i img-cat

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

34 kB

Total Files

12

Last publish

Collaborators

  • wavebeem