A Python Learning Project, that recreates an image with text, commonly known as ASCII art. .
To generate the ASCII Art from that image, run the following command:
python main.py tests/woman/woman.jpg 8
Using the default charset, the output should look like this:
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
___________________________________..:::::._____________________________________
_________________________________..._.:::::.____________________________________
_____________________________.__..___.......____________________________________
____________________________.-._______.:...__.__________________________________
__________________________.._.______.......:=*=...______________________________
_________________________::________.::-=+**%#@@%:_______________________________
________________________.:..._..._.:-++%@@@@@@@@#=._____________________________
_________________________...___.._.-+*#@@@@@@@@@@@*:____________________________
________________________________.__.=%@@@@@@@@@@@@@*.___________________________
_____________________....._________:+#@@@@@@@@@@@@@#+___________________________
_______________________:._________.-*@@@@@@@@@@@@@@@%:__________________________
_______________________.__________:=*@@@@@@@@@@@@@@@%-__________________________
_______________________.._____.....-%@@@@@@@@@@@@@@@%-__________________________
______________________.:______.:::-=#@@@@@@@@@@@@@@#%-__________________________
______________________.._______.:-+#@@@@@@@@@@@@@@@@*-__________________________
_____________________________.__:+#@@@@@@@#*+*###@@#+-__________________________
_____________________________:._:+@@@@@@@@@@@@@@#@@%=.._________________________
_______________________._____...:*@@@@@@@@@@@@@@@@@*:..___________..____________
_______________________:__.:_...-%@@@@@@@@@@@@@@@@@=:+:_________________________
______________________::_.@@*:..-%@@@@@@@@@+++%@@@@::=._________________________
____________________._.__*@@@+-:=#@@@@@@@@*_*+*@@@@:_:__________________________
____________________.____#@@@@=-+%@@@@@@@@@@@@@@@@@%==._________________________
_____________.___________#@@@@#++#@@@@@@@@@@@@@@@@@@**:_________________________
_____________..________._*@@@@@@%%@@@@@@@@@@@@@@@@@@@%+_________________________
____________.____....____=@@@@@@#%@@@@@@@@@@@@@@@@@@@%*.________________________
_________________...._...:@@@@@@#%@@@@@@@@@@@@@@@@@@@#*.________________________
________________....._.::.@@@@@@@%@@@@@@@@@@@@@@@@@@@%=.________________________
________________....._____.@@@@@@@@@@@@@@@@@@@@@@@@@#:-.________________________
__________________.._______.@@@@@@@@@@@@@@@@@@@@@%=:__:_________________________
________________.____...:___.@@@*@@@@@@@@@@@@@@@@@@*...______________________.__
_________________.___..--__...+.:#@@@@@@@@@@@@@@@@@@*.__________________________
______________________:-.__.__-:%%@@@@@@@@@@@@@@@@%+..__________________________
______________________.:_____=%=@##@@@@@@@@@@@%%*==:____________________________
____________________.__....__:+=#@%#@@@@@@@@@@@@@@#+.___________________________
____________________.::....__%#=%@@*#@@@@@@@@@@@@*:_____________________________
_____________________:-.____%@@#%@@@*%@@@@@@@@@@#*=.____________________________
______________________._____@@@#%@@@@++#@@@@@@@@@@@----------------------_______
____________________________*@@+*@@@@@+-+@@@@@@@@@%:::::::::::::::::::::________
_____________________.._____+#*-=@@@@@#=.:+@@@@@@*-_____________________________
_____________________--___.:@@#=:@@@@@@*-...-+++-.______________________________
_____________________-:.__:%@@@#*+@@@@@*-.______________________________________
_____________________-.___:%@@@@@@*@@@@*-.______________________________________
____________________.:.___-*@@@@@@@*#@#*-.______________________________________
____________________-=.___+%@@@@@@##+*#+:_._____________________________________
____________________:::__-%@@@@@@@@#%==*-:=:..._________________________________
_____________________.__.%@@@@@@@@@@#%=-%+-.____________________________________
________________________-@@@@@@@@@@@#%%=-+:..___________________________________
____________________::__%@@@@@@@@@##@%%*=:==..._________________________________
____________________:._:@@@@@@@@@@#%%%***--=_..:=_______________________________
_______________________#@@@@@@@@@@@#%**+++:..__:=_______________________________
___________________.__=@@@@@@@@@@@@@%**+++*::__:------------------------________
___________________:__@@@@@@@@@@@@@@@%***+%@%._.=_______________________________
___________________::+@@@@@@@@@@@@@@@@***+@@@._.-.......................________
____________________.@@@@@@@@@@@@@@@@@#+++=#+...--______________________________
____________________-@@@@@@@@@@@@@@@@@@%+*=.:_._#@......................________
___________________.%@@@@@@@@@@@@@@@@@@@*++-::_.*#::::::::::::::::::::::________
___________________-@@@@@@@@@@@@@@@@@@@@#++=-=___:....................._________
___________________*@@@@@@@@@@@@@@@@@@@@@%+=--:___::____________________________
__________________.@@@@@@@@@@@@@@@@@@@@#@#*+=-*+:.::.................___________
__________________+@@@@@@@@@@@@@@@@@@@@@##*+=-+@#..::___________________________
_________________:@@@@@@@@@@@@@@@@@@@@@@%#*+*=+@#:.:.___________________________
_________________*@@@@@@@@@@@@@@@@@@@@@@%%%++%-:=:.-*::::::::::::::::::_________
________________:@@@@@@@@@@@@@@@@@@@@@@@%%#*+*+:___*@++++++++++++_______________
________________=@@@@@@@@@@@@@@@@@@@@@##**%*+=+-::.:+::::::::::::_______________
________________*@@@@@@@@@@@@@@@@@@@@@#%*##**===::+__.__________________________
_______________.#@@@@@@@@@@@@@@@@@@@@@@#%#@%++=+::-+-...........________________
_______________:@@@@@@@@@@@@@@@@@@@@@@@@#*##*+-+-::%@-._________________________
_______________=@@@@@@@@@@@@@@@@@@@@@@@@@%*%%+--=::+#=-........_________________
_______________%@@@@@@@@@@@@@@@@@@@%%@@@@#***+--=-:....::::::::_________________
______________:@@@@@@@@@@@@@@@@@@@@%%@@@##%*-*=:--:.__:-________________________
______________=@@@@@@@@@@@@@@@@@@#@##@@@@#%=.*+-:-:..__.________________________
______________+@@@@@@@@@@@@@@@@@@##@@@@@@##*_:+=:::..___________________________
______________*@@@#@@@@@@@@@@@@@@@@#@@@#@@#@-.++:::.....________________________
______________*#@@%@@@@@@@@@@@@@@@##@@#%**%#%:=+::-:...=..............._________
______________*#@@@@#@@@@@@@@@@@@@@%#@##+:=*%+:--:-:.:.._.______________________
_____________.#@@@@#@@@@@@@@@@@@@@@###@#%=:+*+:--.--...__.............._________
_____________-#@@@@#@@@@@@@@@@@@@@@@#@###+-===-:-.:-...__..:____________________
_____________+#@@@@%%#@@@@@@@@@@@@@@%#@@#+.=+:-:-:::...___............._________
____________.%#@@@@%#%@@@@#%@@#@@@@@@%@@#%+==:::-:::...__.............._________
____________-%#@@@#*#%#@@@####%@@@@@@%@@@@#%=:::--::.____.............._________
____________-%#@@@%*%##@@%######@@@@@*%@@@@@*:..=-:::___.::............_________
____________=%##@#%%#%#@@#%%###%@@@@#%%@@@@@#=_:+=-::___.:__.___________________
____________+%###%*%**#@##%%###%@@@@#%%@@##@#+:-*+-::._______...................
___________.+%%##*+*+*###%##@@##@@@@#%*###%%*--+++-:.._____.._:.................
___________.=*##%*+*+%###%##@@@@@@@@##+*#%%*=--+==-:..____.::..:________________
___________:=*%##*++*%%%#%%#@@#@@@####%+%##%====-:-:..____.:::..................
___________:=*%%#*++***%%%*#@#@@@@####%*%###+--:.::::.____.::::.:_______________
___________-=*%%#%+==+++****###@@###%%***@@#%=----.::._____.:::.................
___________-=**%%%+=+++-=***%######%%%%*%%@@#+++==..:._____._::..:::::::::::::::
__________.--=*%%%*=++*-++**+#######%%%*+*#@#*=+==:.:.___:..._...:______________
__________.---=%%%%++*%====++%#####%%%%**+*##*-===-_..__.:::._....______________
__________:---=*%*%%%%%*+:.-=+*%##%%%******%%%-:--:_..__.:.::__.................
..________:---=****%*%%%*-:::-+%#%%%****++=***-..:___.__....:___................
If you are using a light theme, use the reversed charset:
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
###################################%%*****%#####################################
#################################%%%#%*****%####################################
#############################%##%%###%%%%%%%####################################
############################%+%#######%*%%%##%##################################
##########################%%#%######%%%%%%%*=:=%%%##############################
#########################**########%**+=-::._ .*###############################
########################%*%%%#%%%#%*+--. _=%#############################
#########################%%%###%%#%+-:_ :*############################
################################%##%=. :%###########################
#####################%%%%%#########*-_ _-###########################
#######################*%#########%+: .*##########################
#######################%##########*=: .+##########################
#######################%%#####%%%%%+. .+##########################
######################%*######%***+=_ _.+##########################
######################%%#######%*+-_ :+##########################
#############################%##*-_ _:-:___ _-+##########################
#############################*%#*- _ .=%%#########################
#######################%#####%%%*: :*%%###########%%############
#######################*##%*#%%%+. =*-*#########################
######################**#% :*%%+. ---. **=%#########################
####################%#%##: -+*=_ :#:-: *#*##########################
####################%####_ =+-. .==%#########################
#############%###########_ _--_ ::*#########################
#############%%########%#: .. .-#########################
############%####%%%%####= _. .:%########################
#################%%%%#%%%* _. _:%########################
################%%%%%#%**% . .=%########################
################%%%%%#####% _*+%########################
##################%%#######% .=*##*#########################
################%####%%%*###% : :%%%######################%##
#################%###%%++##%%%-%*_ :%##########################
######################*+%##%##+*.. .-%%##########################
######################%*#####=.= __ ..:==*############################
####################%##%%%%##*-=_ ._ _-%###########################
####################%**%%%%##._=. :_ :*#############################
#####################*+%####. _. :. _:=%############################
######################%##### _. --_ ++++++++++++++++++++++#######
############################: -: -+- .*********************########
#####################%%#####-_:+= _=%*- :+#############################
#####################++###%* _=* :+%%%+---+%##############################
#####################+*%##*. _:- :+%######################################
#####################+%###*. : :+%######################################
####################%*%###+: :_ _:+%######################################
####################+=%###-. __-:_-*#%#####################################
####################***##+. _.==:+*=*%%%#################################
#####################%##%. _.=+.-+%####################################
########################+ _..=+-*%%###################################
####################**##. __ ..:=*==%%%#################################
####################*%#* _...:::++=#%%*=###############################
#######################_ _.::---*%%##*=###############################
###################%##= .::---:**##*++++++++++++++++++++++++########
###################*## .:::-. .%#%=###############################
###################**- :::- %#%+%%%%%%%%%%%%%%%%%%%%%%%########
####################% _---=_-%%%++##############################
####################+ .-:=%*#%#_ %%%%%%%%%%%%%%%%%%%%%%########
###################%. :--+**#%:_**********************########
###################+ _--=+=###*%%%%%%%%%%%%%%%%%%%%%#########
###################: .-=++*###**############################
##################% _ _:-=+:-*%**%%%%%%%%%%%%%%%%%###########
##################- __:-=+- _%%**###########################
#################* ._:-:=- _*%*%###########################
#################: ...--.+*=*%+:******************#########
################* .._:-:-*###: ------------###############
################= __::.:-=-+**%*-************###############
################: _.:__::===**-##%##########################
###############%_ _._ .--=-**+-+%%%%%%%%%%%################
###############* _:__:-+-+**. +%#########################
###############= .:..-++=**-_=+%%%%%%%%#################
###############. .. _:::-++=+*%%%%********#################
##############* .. __.:+:=*++*%##*+########################
##############= _ __ _.=%:-+*+*%%##%########################
##############- __ __:#*-=***%%###########################
##############: _ _ _ _ +%--***%%%%%########################
##############:_ . __ _.::._.*=-**+*%%%=%%%%%%%%%%%%%%%#########
##############:_ _ ._ __-*=:.-*++*+*%*%%#%######################
#############%_ _ ___ _.=*-:-*++%++%%%##%%%%%%%%%%%%%%#########
#############+_ _ _ ___-+===+*+%*+%%%##%%*####################
#############-_ .._ ._ _-%=-*+*+***%%%###%%%%%%%%%%%%%#########
############%._ ._. _. _ . _.-==***+***%%%##%%%%%%%%%%%%%%#########
############+._ _:_._ ____. . _.=***++**%####%%%%%%%%%%%%%%#########
############+._ .:.__ .______ :. :*%%=+***###%**%%%%%%%%%%%%#########
############=.__ _.._._ _..___. _.. _=#*-=+**###%*##%###################
############-.___.:.::_ __..___. _.. __ _-*+:-+**%#######%%%%%%%%%%%%%%%%%%%
###########%-..__:-:-:___.__ __ _.:___..:++---+*%%#####%%#*%%%%%%%%%%%%%%%%%
###########%=:__.:-:-.___.__ __-:_..:=++-==+*%%####%**%%*################
###########*=:.__:--:..._.._ _ ____.-.__.====+*+*%%####%***%%%%%%%%%%%%%%%%%%
###########*=:.._:--:::...:_ _ ____.:.___-++*%****%####%****%*###############
###########+=:.._.-==---::::___ ___..::: _.=++++%**%#####%***%%%%%%%%%%%%%%%%%
###########+=::...-=---+=:::.______....:.. _---==%%*%#####%#**%%***************
##########%++=:...:=--:+--::-_______...:-:_ _:=-==*%*%###*%%%#%%%*##############
##########%+++=....--:.====--._____....::-:__:+===+#%%##%***%#%%%%##############
##########*+++=:.:.....:-*%+=-:.__...::::::...+*++*#%%##%*%**##%%%%%%%%%%%%%%%%%
%%########*+++=::::.:...:+***+-._...::::--=:::+%%*###%##%%%%*###%%%%%%%%%%%%%%%%
The output file of the first woman.output.txt on Github.