Image to ASCII-Converter
Go to file
2015-12-07 16:35:04 +01:00
src fixed foldl1-bug on empty list 2015-12-07 16:35:04 +01:00
.gitignore added .stack-work to gitignore 2015-12-02 15:40:43 +01:00
example_small.png added smaller example 2015-11-22 18:28:21 +01:00
example.png added example-image 2015-11-21 22:19:10 +01:00
image1.img included samples, disabled debug-image generation 2015-11-21 21:42:09 +01:00
image2.img included samples, disabled debug-image generation 2015-11-21 21:42:09 +01:00
image3.img added smaller image 2015-11-21 22:48:55 +01:00
img2ascii.cabal now images don't get cropped off at the bottom right. Also added arguments. 2015-11-21 21:28:23 +01:00
LICENSE Skeleton 2015-11-20 23:02:24 +01:00
README.md improved readme 2015-12-06 02:00:01 +01:00
rose_256.img added flag for 256-color support for older terminals and screen 2015-12-06 01:48:59 +01:00
Setup.hs Skeleton 2015-11-20 23:02:24 +01:00
stack.yaml changed resolver for stack 2015-12-02 19:54:54 +01:00

img2ascii

Image to ASCII-Converter

build instructions

Execute stack build. Result is then in your .stack-work/dist/$system/$cabal/build/img2ascii/ folder. Replace $system and $cabal according to your installation.

Alternatively you can install the program with stack install to ~/.local/img2ascii or for all users (if stack install is invoked as root).

Three true-color example images in the resolution of 225x65, 225x65 and 100x40 are included. To view them just type cat image1.img in a suitable (aka TrueColor) terminal.

One 256-color example is also included. Type cat rose_256.img to view that.

example

rose-image