IMG2TXT: ASCII Art Made Easy!

This script takes the URL of a GIF, JPG, or PNG image and converts that image into ASCII text or colored HTML. Not very useful, but pretty cool. Scroll down for sample output.

Tip: The smaller the image the better. Images with sizes greater than 640x480 will not work. It just takes too long to process and print out.

url of image
mode:
width of output: (number of characters wide, approx)
letters to use:
(only used in colored HTML mode)
invert?: (only used in ASCII Art mode)



                                    ::WWWWWWWWWWWWKKWWWWKKDDDDKKDDKKKKWWKKKKKKWWWWii                
                                    LL######WWWW##############KKGGKKKKDDDDKKKKWW##WW;;              
                                ttEEWW####KK####KKEEEEWW##WWKK##GGKKDDLLWW##KKDDWWWWKK;;            
                              ..jjff####WW##KKLLWW######KKKKDDWWKKKKKKLL####LLDDWW####WW            
                              ;;ttLL##WW##KKGGWW######WW##DDDDGG##WWDDWWWWWWDDWW########tt          
                                ffWWWW##EEKKWW############WWGGGGDD##WW##WWWWKKKKWW######KK          
                              LL##########################WWDDDDGG##WWWWKK####KKDD########          
                              GGEE######################KKLLGGKKWWDDWWWWffKK##KKDDKK####WW..        
                              ffWW######################DDEEEEffffffffDDGGGG##EEGGKK######          
                            ..########################KKfftt;;,,..,,;;jjffttDDWWDDWWWW##GG          
                            ;;WW####################WWffjj;;::    ..,,;;;;,,;;LLWWEEKK##jj          
                            LLEEEEKK####WW##DDffffffii;;,,::........::,,,,,,,,;;EEDDWW##;;          
                          LL##WW##WWWW##WWjj,,,,;;,,,,,,::::......::::::,,::,,,,GGDDWW##..          
                      ..GGLL##DDffGGDDDD,,,,,,,,;;tttt,,............::::::,,,,;;DDKKWWWWii          
                    ffjjjj####LL,,,,;;ii;;,,,,,,;;;;,,iittii......::::::::,,,,iiWW##WW##..          
                  ..ffKK##WW####jjii;;tt;;,,::..,,jjLLffttjjtt::::::::,,,,,,;;ff######DD            
                      jjKK########KKttjj;;;;,,....;;ttDDDDDDjjtt,,,,,,,,,,,,;;GG######ff            
                    ..;;KK########LLjjttii;;,,....::iiii,,ttjjii,,,,,,ttjjLLDD##WW##KKtt            
                    ..LL##########ffjjiiii;;,,::......;;tttt,,;;..iiDDWWDDDDff##WW##LL;;            
                      LLKKWWWW####jjjj;;ii;;;;::....::::::..,,,,::jjiiii;;EEWWWWKKDDjj..            
                    ..DDWWWWEE##jjtttt;;ii;;;;,,....::......::::,,ii,,ttffttLLDDDDGG,,              
                    DDDDLLEEWWGGtttttt;;;;;;;;,,,,::::::..::::..;;;;,,,,;;;;iiGGLLii                
                  ttGGDDEEWWWW;;iitttt;;;;;;;;,,,,,,,,,,,,,,::  ;;;;,,;;;;ttiiGGff                  
                  ttGGWWWW##ff;;;;ttjj;;;;;;,,,,,,,,,,..;;::::..ii,,,,;;ttffGGff,,                  
                    LLKK##ff;;;;;;;;jj;;;;,,,,,,,,::::..,,tt::::ii,,;;iiffttttii::                  
                      LLGG;;;;,,;;;;jjii;;;;,,,,;;tt::....::ttfftt;;ii,,,,..;;..,,                  
                    ..ii,,;;,,,,,,;;;;ff;;,,,,,,::,,ffff;;,,;;iittttff  ,,  ,,  ii                  
                ::iitt,,,,;;,,,,,,;;;;jjjj;;,,,,,,::tt;;LLLLLLffttWWtt....  ::..,,                  
          ,,;;;;;;,,,,,,,,,,::,,,,,,,,;;jjtt;;,,::::,,ttttjjffjjtt##,,..        ,,                  
..,,,,;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,;;jjii,,,,::::,,;;jjjj;;DDDD..        ::,,                  
;;;;;;;;;;,,,,,,,,::::::,,::::::::,,,,,,;;iiffjj,,,,,,,,;;LLEEGGjjGG          ,,;;..                
,,,,,,,,;;;;;;,,,,::..::,,::..::::::::,,;;;;ttfffftt;;;;GGtt;;jjttii          ,,::..                
,,::....::,,;;;;;;,,,,,,,,::..::::::::::,,,,;;ffGGKKEEDDLLLLDDffii      ..    ii..                  
,,,,::....,,,,,,,,;;;;,,,,,,......::::..::::;;ttLLLLLLffffjjjjjj..    ,,      ,,  ..                
,,::::::..::,,......::,,,,,,,,::::......::::;;;;jjjjjjffffjjttjjjj,,..      ..,,                    
::::......::::............::::,,,,::::::::,,,,;;iijjffffjjjjjjffjjjjjj,,    ::;;                    
::........::..................::::::,,::::,,,,,,,,,,,,,,,,,,,,jj;;;;;;iitt,,jj                      
....................................,,::..::,,::,,::::::,,,,,,ii,,,,,,,,,,;;jj,,