#jpeg #ascii-art #color #convert #image #width

app lll_toon

A tool to convert JPG images to ASCII art with colors

2 releases

new 0.1.1 Dec 17, 2024
0.1.0 Dec 17, 2024

#269 in Text processing

Download history 189/week @ 2024-12-13

189 downloads per month

MIT/Apache

80KB
82 lines

lll_toon

lll_toon is a Rust tool that converts JPG images to ASCII art, with an optional colorized output using terminal colors.

Features

  • Converts JPG images to ASCII art.
  • Supports colorization based on the original image colors (using terminal colors).
  • Adjustable width for the ASCII output.
  • Easy to use command-line interface.

Installation

cargo install lll_toon

Sample

****************************************************************
****************************************************************
*********************8$*;***************************************
********************888%:$%+************************************
***********************:;;;+;***********************************
**********************%%:,,;;;++********************************
***+.:;***;******%**;:+;++;;;.;*+*++****************************
*:....;&88$+... ;,,:::*%%88#&;;,,+,**+**************************
***;....*8#88%;,,.,$*%%%$###**;:::;,:***************************
*******; ....,+*%%$$$%%%%%**:+;++;*.:+*+;:+*********************
**************%$$$%&8$&&8+++;:,+;:+*&8%,,++:++******************
*************8$$$$%8&&$$**$**;.:,;;:%8&$&%%+$%+8++**************
************88%$$%%%*88%$8$8&*+;;:,:+%*%$&***++++***+***********
**********$&*8&%%*88%%8&88%$&888888&&&%$$$&88$$$$$+%+:**********
*********$8888&%%%%$8&&&%&&$%8&%&$%%**%%$$$&88#####%************
********$&*88%%%%%%$$$$%%$%%%%%%%$%%%*******888##$**************
*******+$&*%8$%$$$%$*****************************************+++
**+++*+&&*88#*88&$********************************+*++****++++++
+++++*%&%%*&$**%$*+*++++++++++**+++++++*++**++++++++++++++++++++
++++++&888$**%%8+*++++++++++++++++++++++++++++++++++++++++++++++
++++++888#8*%&8+++++++++++++++++++++++++++++++++++++++++++++++++
+++++*88###%%8%+++++++++++++++++++++++++++++++++++++++++++++++++
++++&&8####%$%++++++++++++++++++++++++++++++++++++++++++++++++++

Dependencies

~6–15MB
~209K SLoC