Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 30 Aug 1998.
Re: GIF conversions (was: Re: History)

Re: GIF conversions (was: Re: History)

Matthew Thomas (mpt...@spamfree.land) wrote:
: One day, I promise, when I have enough time to fiddle around with such
: things, I will write the ultimate GIF-/JPG-/PNG-to-ASCII converter
: (yeah, right!) (... no, really!).
: I plan the following features:
: * optional edge-detection -- drawing of outlines will take precedence
:   over shading the areas inside them
: * as much or as little weight as you like will be able to be given to
:   the shape of the characters, rather than their darkness or lightness
:   (ie, anti-aliasing at the expense of exact shade, or vice versa).

Hmm. I have several half-finished bitmap->ascii routines lying around.
On uses a statistical method to find the best matching character for
each 3x3 greyscale block, another does a very fast mapping from an
"interleaved" b/w bitmap. Both have significant problems left.

The advice I would give is - if at all possible - to let the bitmap
rectangles determining each character overlap. This is especially
useful with line art, as it can give much smoother curves and gets
rid of the "borderline" problem. (A horizontal line giving ______
looks a lot worse in most converters if shifted down one pixel to
become       .)
       """"""
The only problem is that this tends to make the number of pixels per
character even larger, making a simple lookup table approach 
impractical. I have an idea involving binary trees, and another
using boolean masks, but I haven't had the time to try either.

-- 
Ilmari Karonen (ilt...@sci.fi)
http://www.sci.fi/~iltzu/

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,b95c078a91be9537
X-Google-Attributes: gidfd588,public
X-Google-Thread: f996b,b95c078a91be9537
X-Google-Attributes: gidf996b,public
From: ilt...@sci.fi (Ilmari Karonen)
Subject: Re: GIF conversions (was: Re: History)
Date: 1998/08/30
Message-ID: <6sc7t0$4og$1...@tron.sci.fi>#1/1
X-Deja-AN: 386206843
Distribution: world
References: <903...@mnementh.southern.co.nz> <35D...@spamfree.land> <903...@mnementh.southern.co.nz> <35D...@spamfree.land>
Followup-To: alt.ascii-art,alt.ascii-art.animation
Organization: (dis)Order of the Holy Spoon (or whatever)
Newsgroups: alt.ascii-art,alt.ascii-art.animation
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1998 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.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post