Re: Gut?
From Alexander - LX - Schmidt <4l...@gmx.de>
· de.alt.rec.ascii-art
· 28 Nov 2000 19:09 · View full thread
Nik...@rath.org (Nikolaus Rath) schrieb:
> Wie arbeiten die?
*Eigentlich* recht einfach:
Gegeben sei ein Bild, wie das vom Ursprungspostingsbabe.
Das Bild hat soundsoviele Pixel in x-Richtung und soundsoviele
in y-Richtung. Alle Pixel haben eine Farbinformation, auch
wenn es schon schwarz-weiss (eher: Graustufen) sein sollte.
Das Ganze wird erstmal in Graustufen umgerechnet, dabei
wird jeweils der Anteil der Farben Rot, Blau und Gr�n am
jeweiliegen Pixel ermitteln und daraus eine Helligkeits-
information gewonnen. Wobei allerdings nicht alle Farben
gleichberechtigt sind: Rot ist am st�rksten beteiligt, dann
Gr�n und dann Blau. Und jetzt ist es keine grosse Hexerei
mehr, wenn Du Dir ein paar ASCII-Zeichen anschaust, sind
manche "voller", also dunkler (bei dunkler Schrift auf
hellem Grund) und manche "leerer", also heller. Zum Beispiel
ist der Punkt "." relativ hell, da er viele freie Fl�chen
l�sst, wogegen das "M" schon ziemlich dunkel ist.
Nun muss man nur noch eine gewisse Anzahl Pixel (h�ngt
von der urspr�nglichen Gr�sse des Pixelbildes und von
der gew�nschten Gr�sse des ASCII-Pix ab) zusammenfassen,
deren mittlere Helligkeit errechen und mit einem ASCII-
Zeichen "nachbauen". So d�rfte das Babe im Ursprungsposting
wohl auch entstanden sein.
aLeX!
--
[ planet LX - the gaLaXy of sonic experiences : ]
[ http://www.planet-lx.de | http://www.mp3.de/home/lx ]
[ mailto:l...@planet-lx.de | mailto:m...@il-an-lx.de ]
Original message headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: f7c81,863fb08ad252d584 X-Google-Attributes: gidf7c81,public X-Google-ArrivalTime: 2000-11-28 11:09:00 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!newscore.gigabell.net!fu-berlin.de!uni-berlin.de!office.audiobahn.DE!not-for-mail From: Alexander - LX - Schmidt <4l...@gmx.de> Newsgroups: de.alt.rec.ascii-art Subject: Re: Gut? Date: Tue, 28 Nov 2000 20:09:13 +0100 Organization: LX Lines: 34 Message-ID: <gvu...@4ax.com> References: <3A1...@myokay.net> <8vk...@news.jweseler.de> <8vmg5j$r0$2...@nikratio.lc.rath.org> NNTP-Posting-Host: office.audiobahn.de (195.227.114.130) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 975438538 6170327 195.227.114.130 (16 [38709]) X-Newsreader: Forte Agent 1.8/32.548 Xref: supernews.google.com de.alt.rec.ascii-art:173
About this message.
This message was posted publicly to the newsgroup
de.alt.rec.ascii-art
in 2000 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.