[comp.graphics] Help ME I'm goi'n NUTS!

pervect@bsu-cs.UUCP (Barrett Kreiner) (04/21/88)

I need a cute little routine for a color conversion size type deal..
Original input is 800X500 screen with 4 of 64 colors available..
the output is a 640X350 screen wwith 16 of 64 colors avalable..

For those at BSU monitoring, YES, it's DEC to EGA..
for those not @ BSU,  I'm looking to convert a DEC vt240/241 display to an
EGA output..

the screen ratio's are 4/3 and 10/7 .. kinda hard to do..

first thought.. 
(D-dec .. E-ega .. X-dropped)

DDDD      EEEX
DDDD      EEEX
DDDD  ==> EEEX
DDDD      EEEX
DDDD      EEEX
DDDD      EEEX
DDDD      EEEX
DDDD      XXXX
DDDD      XXXX
DDDD      XXXX

(No No.. BAD me.. that would look SICK converted!)
I'm looking for a dither/antialias type of conversion with REASONABLE results.

Waaaa Mommmy Mommy HAAAAAAALLLLLLLPPP!
|---------------------------------------------------------------------------|
|Barrett Kreiner     UUCP:  <backbones>!{iuvax,pur-ee,uunet}!bsu-cs!pervect |
| %%%%%%%%%%%%%%%%%%%%%%%%  |-----------------------------------------------|
| Ball State U. Muncie, IN  | "I'll tell ya kid, the main problem with      |
|---------------------------| Pervish food is keeping the goo from crawling |
| out of the bowl while you're eating it"|  TOON: THE game for modern times |
| CGA: Cute Greenback Accumulator  EGA: ENHANCED Greenback Accumulator      |
| Disclamer: "I don't know them!  I'm a student, nobody listens to ME!"     |
|---------------------------------------------------------------------------|