X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,db78abe5177a5c67,start X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-04-17 11:18:07 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!TDC-Europe.POSTED!ip9.hgnxr3.ras.tele.dk!not-for-mail From: "Christian 'CeeJay' Jensen" Newsgroups: alt.ascii-art Subject: Gwyneth Paltrow - Jave image->ascii conversion .. and discussion of algorithms Date: Tue, 17 Apr 2001 20:16:32 +0200 Organization: Posted through some European Outpost of TDC Internet A/S Lines: 91 Message-ID: <9bi18c$s21$1@news.inet.tele.dk> NNTP-Posting-Host: ip9.hgnxr3.ras.tele.dk X-Trace: news.inet.tele.dk 987531340 28737 195.215.25.9 X-Complaints-To: the appropriate department of the poster's provider X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com alt.ascii-art:5349 I was just trying out Jave's imageconversion on one of the images I submitted to the contest. Here is Gwyneth Paltrow with a very simple set of characters making the shades. Very stylish. ...::::::::::.:::. .:::::::.. :::.....::.. ....::oo:.... ::::........... ....:::::::::......oo: ........:::. ...:.:::ooo:...:oooo:..... .:::::: ..:...::::::....:oooOOo:. ....... ...:::::::::.. .:oo:oOOo.. .....:::::. ...::::oooo:......::.oOoo::::::.....::::::: ......:::::::o::::ooo:.:oooooooooo:::..::ooooo:.. .:::ooOOOOoooo::... .. ..........:::::ooo:.. :..:oooOOo:::... ..::oOOOO:. . .::oooo:...... .:ooOOo. . .::oOoo:....... .::::oo. ...:oooo:::...... .:: .::. .:ooOOo::::..... .:...::. ..:oOo::::....... ... ... :.:oo:::::.....:oo:.. ..:::.. .... . oooo:::::oO8888OOOOo:.. .:oO888O8O:... . .oOo:...:oOOooo. .:::.. ...:::.o:. .oo:......:::.... ... ... .o:..... .... ...... .... .::... .::.. .:::... .::... . .:::::......:OOOO:::: .. .::ooo:::....:::::. ..... ..:ooo::oo:..... .......... O8:oooo:.:oO88OOOooo::. ... o8888Oooo::::oOOoooo::. :88888888Oo::::::::.. :. .:88888888888O::.. :O8 .:O88888888888888Oo:.......oO888Oo. .oO888888888888888888888888888888888888Oo:. .oO88888888888888888888888888888888888888888888Ooo:. .o8888888888888888888888888888888888888888888888888888888OO o888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888 Markus how about being able to define your characterset yourself ? And how does it choose the right char for a particular area ? I can see a few different paths to achive a good conversion 1 : simply doing a assesment of the chars and assigning them a shade of grey on which it bases it's decision on what char to render in that area 2 : Rendering the chars to tiny images and choosing the char based on fuzzy logic comparisson betwen the rendered image of the char and the area in which the char should be. 3: Do something in between where each char is asssigned a shade of grey AND some info on what areas of the "cell" it fills. F.x a "L" could be defined as a shade 40 (0-255 with 255 as complete black) and fill 3 corners of the cell. _______ | | | | # | | | # | | |-#-+---| | # | | | ##|## | |___|___| Here the L fills the top-left, bottom-left and the bottom-right corner. Or perhaps even more detailed . The L fills 20% top-left , 20% bottom-left and 12% bottom-right Any more ideas on useful methods .. either thought up ones or actual methods in use by some program. I know most programs just assign a shade of grey to a char and put one pixel = one char.. Which as you know don't work .. because a char is much bigger than a pixel and it's not equally tall as it is wide. Kind Regards CeeJay