Skip to content

Commit

Permalink
add image to have a cleaner README
Browse files Browse the repository at this point in the history
  • Loading branch information
livibetter committed May 22, 2014
1 parent c66bd68 commit 7914ee8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,13 @@ or with multiple files:

icat img1.jpg img2.jpg > newfile.txt

or, if - is used as as file name, it reads from stdin:
or, if `-` is used as as file name, it reads from standard input:

curl -sL https://raw.github.com/atextor/icat/master/sample.png | icat -

The above commands would create the following output (note that you
have to open this README in a console pager such as `less -r' to interpret the
ANSI escape codes that encode the colors):
The above commands results the following output in 256-color terminal, see [`sample.256-color.txt`](sample.256-color.txt) for the actual output:


▄▄▄▄▄▄▄▄▄▄ 
▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▄▄▄▄▄▄▄▄▄▄▄▄▀ 
▀▀▄▄▄▄▄▄▀▀ 
![Output of sample.png](sample.256-color.png)

For terminals that support 24-bit color (only Konsole and Yakuake are known to the authors at the time of this writing), this can be enabled using:

Expand Down
Binary file added sample.256-color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions sample.256-color.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
  ▄▄▄▄▄▄▄▄▄▄▄▄  
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
  ▀▄▄▄▄▄▄▄▄▄▄▀  

0 comments on commit 7914ee8

Please sign in to comment.