Naughty Platypus Memorabilia
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

img-cat

0.0.7 • 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.

install

npm i img-cat

Downloadsweekly downloads

23

version

0.0.7

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar