X-Google-Thread: f996b,b9716e59e5fa9c6d,start X-Google-Attributes: gidf996b,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!postnews.google.com!p39g2000prm.googlegroups.com!not-for-mail From: forward-252171415@anonymous.cybertrench.com Newsgroups: alt.ascii-art Subject: image to ascii converter that takes the shape of character into account Date: Mon, 23 Jun 2008 21:03:26 -0700 (PDT) Organization: http://groups.google.com Lines: 89 Message-ID: <598fd91c-97a7-41c1-ad68-a25d93b98e75@p39g2000prm.googlegroups.com> NNTP-Posting-Host: 150.101.121.21 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1214280206 9413 127.0.0.1 (24 Jun 2008 04:03:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 Jun 2008 04:03:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p39g2000prm.googlegroups.com; posting-host=150.101.121.21; posting-account=ODkB7goAAABsnlqYcacl3tolvSKf3ch_ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9) Gecko/2008061004 Firefox/3.0,gzip(gfe),gzip(gfe) Xref: g2news1.google.com alt.ascii-art:103 Hi. A couple of years ago, there was a challenge for the best ascii art generator (image to ascii art) I don't know the results though. I searched the net, but all stuff I found works by 'character brightness' and treats characters as pixels. The result is either very huge images - loss of all details, nothing that would ever fit into an neat email signature or similar. Hand creating is always an option of course, but I would like to know if anyone knows a good program for line-art to ASCII conversion. Years ago I wrote my own software for this, its a part of motiontrack (http://motiontrack.sourceforge.net) and attempts to find the best possible ASCII character for every part of the image by weighted pattern matching. I am thinking about getting that project out of the fridge and improving it a bit. Is there anything out there that's better, so I can compare results? regards Corvus PS: obascii : this is the (crappy) source image http://cybertrench.com/test2.png this is the result of a conversion: > menhance test2.png -q 75 -s 210 x.png >/dev/null 2>&1; > masciiart x.png 2>/dev/null |sed -e 's/^/> /' > > _/ > _/' ,/' > /' ," ,*' > _we^^m _/ ,/ ,/ > _m^~ j' ,/ ,/ > _*' _/ _/ _/' > _/' ,' /' /' > j' _,am*mm--ww_ p' ,~ ," > p' w^~ ~\_ _f /' /' > p ," " ,' _/ _/ > j' / _mmmemw_ l j' j' j' > ' f _/' \ I j' / / > ] j p' l_a*mq` L f ' _/ / > ' ' j' #L F j' q' _, ,' j' > j j I ~ / f f j@ ,' /' > I t j~ _f / jQ' r' / > | b_ "^^^" _a' / j#F ' f > ] "w,_ __jm~ _/ q#f _ ,' > , ~"""~~ _/' _## Q ~ > ~w _/' /dV^ _@ / > \w_ __m^' { #, # & > ~"^^mm^"~ ` q@I #' f > / #Q[ d' _A , , > _^ Jfq j( _g' q ' _' > ' f j@1 #' ._______ -l & f > ` j _#"B' &' ~~"g _jM^w j 1 qQ f > / ' /A' # jY a' r~ ' j d^^ fI / > / 7 j0Y f # _/ p f H_ j I q' > ' jM ' j' #H /' j' j j ] ' I [ > 7 /Y # #'j, ,' ! j' I \_ I [j > '/7 f ,/f [[ _/ [__,/ ' \_ j' Lf > ]/ ' ' ,jMY N j' __,, ~~~ ` I " > 7'< j',#'j' N ^^^^^"""~~~ > '/ F d' [ |7 > j j'j' d ]E > ' ##' RI > ` j#' II , , j' > 4' N' _ ' /7 > f j] l\w ] / I > # II I [ I J ' > /' j I ' L g__j_ > j ] Lj/ j _' ~T~""' > ' ' 4~"! I f ] > / j f [ f _ > ' f j j _,mem^ j ` > ' mM |"~ ` > j > I > ' (i hope google news doesnt mess this up)