Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 9 Aug 1998.
Re: Ascii-art resizer!

Re: Ascii-art resizer!

From miK <mmi...@dataweb.nl> · alt.ascii-art · 9 Aug 1998 00:00 · View full thread
I hope you're still there...

Nate / DAC wrote:

sTiLe wrote:
>> Er.. after being explained re-sampling, I don't honestly see just how to
>> do it for ascii. You can't just "average" text together...

>Sure you can...

Yep!

>A good program might take a 'b' and a double quote '"' and render them
>together as the number '8' or a capital 'B', should this need arise.

Yeah! But you keep mixing up "resizing" and "resampling".

   this is a 1-liner --> 8   b
                             " <-- this is a 2-liner

Let's define resizing as "adding or deleting rows and cols of chars"
(i know that's not an accurate definition).

  input       filter         |       output
            delete cols
             | | | |
 88888888   88888888--dr           8888
 88888888   88888888  eo  8 8 8 8  8888
 88888888   88888888--lw
 88888888   88888888  .s  8 8 8 8

Let's define resampling as "lighter/darker" (...)

        light text on dark background
  light       <------------->       dark
 @@@@@@@@   88888888   ++++++++   ::::::::
 @@@@@@@@   88888888   ++++++++   ::::::::
 @@@@@@@@   88888888   ++++++++   ::::::::
 @@@@@@@@   88888888   ++++++++   ::::::::
  dark        <------------->       light
        dark text on light background

>Or, perhaps a fes lines of 8's might be redone as:

>88888888          oooooo
>88888888 resized: 888888  or 50%:  8888 or 25%: oo
>88888888   75%    888888           8888         ""
>88888888          """"""            ^
                                     |
hmmm...     fyi this is 25% ---------+
OK, that's cheesy...

But I really can't think of a way how to combine the "resizing" and the
"resampling" in order to get this output :(

>Ok, prolly not the best examples.  The best way might be for the program to
>turn the ASCII artwork into a bitmap (perhaps, just a dump of the font
>shapes and such so that the bitmap looks identical to the ASCII version),
>re-scale the bitmap using the various averaging and anti-aliasing techniques
>people use, and then converted back to an ASCII.

_____,,,,,---==AAaargh===='''''```` </pain>

ASCII-art is a "char"-map, not a pixelmap!

Did you ever try out what you're propagating?

>The conversion back to ASCII would be the hardest I guess.  Perhaps such a
>program could create a directly scaled version as in your original, and
>create an ASCII-to-bitmap-to-ASCII version, and somehow use the first as
>sort of a "layout" map..

Now, that's a curious detour... 

bye,
mic

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,4f3887953fc2ae64
X-Google-Attributes: gidf996b,public
From: mmi...@dataweb.nl (miK)
Subject: Re: Ascii-art resizer!
Date: 1998/08/09
Message-ID: <6qk142$1po$1...@news.Leiden.NL.net>#1/1
X-Deja-AN: 379373544
References: <Pine.LNX.3.96.980731014127.986A-100000@localhost> <35c...@news.virtek.com> <6pugea$j98$1...@news.Leiden.NL.net> <Pine.LNX.3.96.980801043028.310A-100000@localhost> <Pin...@onyx.southwind.net>
Organization: NLnet
Newsgroups: alt.ascii-art
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.