Skip to content

DavideFantasia/asciiArt

Repository files navigation

ASCII-ART GENERATOR

This simple C# script convert major type of photos to an ascii-art, by mapping the HUE of the pixel to a grey-scale of characters
It was tested (for the most) on picture with around 200x200px ratio, it get slower with more elaborate pictures but i get i works

aesthetic problems

At the moment, the output's textbox for the ascii-art can not be justify, it may looks warped, but if you paste the ascii-art on something else likes the notepad
you will see that it is done correctly

How to run the program

You have to download the source code, i used Visual Studio 2019 for building and running the project
It's a windows form project

some examples

a very shrinked version of the Statue of Liberty

Cb
U8
p
L8
w
/
(0 Cu
[ Lk
"#"Cw
!+}l-Y
U>:>[
U","l!,
,,^jl,}
I^^<],&
l^_ b?$
n", /$%
l" cZ
+"""dW
<+I"dU
)Il*#@
"ZI)$
"o!-^
<)I>Z
+)<+p
"I,:1&
I[)jucqpb
\\)(]_[$$
v||\}|)1@hb

I recommend you to try this code by yourself and modify the parameters as you prefer

Soon more updates