Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from rec.arts.ascii, 6 Oct 1994.
Info: Light-On-Dark to Dark-On-Light Converters?

Info: Light-On-Dark to Dark-On-Light Converters?

Out of Order (psa...@hmc.edu) wrote:

: And The Scarecrow spake unto us, saying:

: >    But as to flipping the light and dark of a pic while it is ASCII, I 
: > don't know.  Dose anybody recall if there is a program or script for this?

: In UNIX csh you could alias a tr command something like:

: alias invert "tr '[\040-\177]' 'QWERTYUIOP...' < \!*"

: (The QWERTYUIOP... is whatever order you think the 96 characters
: between 32 and 127 should be in.)

: To use it you would then type invert filename and it'd display the
: inverted one on the screen.  Save with invert filename>filename2.

: I'm not about to think that hard at this time of night, but if anyone
: tries this, please post the complete alias and an example of what it
: can do.


I dont know much about aliases in unix but in my ibm I made a simple 
program to do it (sounded like fun).. and I came up with two lists of 
characters.. original list was in order of brightness, new list, (opposite 
brightness, corresponds to ascii char in first list.. anyways I made an 
IBM version and here are the lists:

[ .`-',:_;~=^"+/|()<>i%l\{}!cIrvx[]?*ast17nufJozejCLw23pqTYmy456bdFgkV9GhPS
XOZA&UDEK8HR$B#QW@0MN]

[MBHKUUUUAAXXyyywjjjjzttttt????????]}}}}iiiiiiii>>|||////////^^^^^^^^^^^^^^
^~~~__---``...       ]

Keep in mind the fact that these lists aren't reversed lists of each 
other.. and if you convert something using this and convert it back, your 
picture wont look the same.. but it works fairly well.  

I'm going to upload the IBM version to ftp.wwa.com, I think that is a 
place you can find it (in incoming).. (tell me of a better place, please!)

See ya later!

rb (bru...@helium.gas.uug.arizona.edu)

p.s.  While you're there, don't forget to check out bmp2txt, a bitmap to 
ascii picture converter!

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,1dc64acfba88065e
X-Google-Attributes: gidf996b,public
X-Google-Thread: 110f55,6776b888ea32fb05
X-Google-Attributes: gid110f55,public
X-Google-Thread: fbb9d,1dc64acfba88065e
X-Google-Attributes: gidfbb9d,public
X-Google-ArrivalTime: 1994-10-06 00:05:22 PST
Path: bga.com!news.sprintlink.net!sashimi.wwa.com!not-for-mail
From: bru...@GAS.UUG.Arizona.EDU (Raymond E Brunner)
Newsgroups: rec.arts.ascii,alt.ascii-art,alt.binaries.pictures.ascii
Subject: Info: Light-On-Dark to Dark-On-Light Converters?
Followup-To: rec.arts.ascii,alt.ascii-art,alt.binaries.pictures.ascii
Date: 5 Oct 1994 21:22:39 -0500
Organization: University of Arizona, CCIT
Lines: 48
Sender: bob...@wwa.com
Approved: bob...@wwa.com
Message-ID: <36vn1f$kb...@sashimi.wwa.com>
References: <36501j$l3...@gagme.wwa.com> <36h217$5b...@gagme.wwa.com> <36lp4o$j1...@gagme.wwa.com>
NNTP-Posting-Host: sashimi.wwa.com
Xref: bga.com rec.arts.ascii:1940 alt.ascii-art:12682 alt.binaries.pictures.ascii:1282
About this message. This message was posted publicly to the newsgroup rec.arts.ascii in 1994 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