Home

Awesome

Explosion

Command line image viewer which supports 24-bit (16 million) colors, much based upon the post by maato. The implementation in that post is however only with 256 colors while a bunch of terminal emulators has support for True Colors, so I had an attempt at reimplementing the same but with more colors.

That's also where the name comes from, as this is more of an explosion of colors, compared to maato's implementation.

Usage

$ explosion --help
Usage: explosion [options] [file | - ...]

  Specify "-" or just nothing to read from stdin.

Options:
  -h uint
        Maximum height of output in number of lines (default 110)
  -w uint
        Maximum width of output in number of columns (default 204)

Screenshots

Taken in iTerm 2.9 on OS X:

Lenna

Installation

If you have Go installed, then you should simply run:

go get github.com/Tenzer/explosion

and you will get the explosion executable inside $GOPATH/bin.

Change log

1.1.2 - 2021-05-23

1.1.1 - 2018-10-22

1.1.0 - 2015-10-21

1.0.1 - 2015-10-19

1.0.0 - 2015-10-19

To do