home *** CD-ROM | disk | FTP | other *** search
- Uncle AKA (anti-alias)
-
- Usage summary:
-
- AKA [-File] <file> [options]
-
- Where options include:
-
- -Palette_File <file> (palette to use)
- -SAVE <file> (save IFF in file)
-
-
- These two programs were written to enable me to use my Amiga along
- with my desktop publishing software (and the invaluable POST, post-
- script interpreter) with all the postscript fonts that I have as a
- Video Titling package.
-
- Both programs take a single bitplane image, rendered larger than the
- screen, then reduce it. AKA1 halves the image, and renders it as a 4
- gray level image, AKA2 quarters it into a 16 level image. Both programs
- take the two colors in the single bitplane image and create a spread
- between them to render the anti-aliased image in.
-
- AKA1 uses a very simple algorithm that requires almost no computation,
- thus renders almost as fast as the file can be read. AKA2 is not so
- lucky. It takes considerably longer, but the results are superior.
-
- The way to use these is to go into your favorite desktop publisher (I
- use PPAGE), create a 9.38 by 6.4 inch page. Put a box in the center
- it, use whatever font you want (and have in PS format) to make your
- slate. Print it to a postscript file (say "myfile.ps). Now use post
- like this:
-
- for aka1:
-
- POST init.ps myfile.ps IFF myfile.iff SIZE x1408y960d150b
-
- for aka2:
-
- POST init.ps myfile.ps IFF myfile.iff SIZE x2816y1920d300b
-
- This will create an IFF file that can either be halved or quartered
- by one of the AKAs to make your slate. Use AKA like this:
-
- aka1 myfile.iff -save myfile.slate
-
- or
-
- aka2 myfile.iff -save myfile.slate
-
- This will anti-alias the input file "myfile.iff" and save it as an
- iff file called myfile.slate.
-
- POST's default colors are white and black. If you would like to use
- other colors for your slate, simply create an empty 2 color image
- in Deluxe Paint (or whatever) and set the palette to whatever two
- colors you'd like to use. Save this out. (Empty IFF files take very
- little disk space.) Now use the -pf option of AKA.
-
- aka1 myfile.iff -save myfile.slate -pf mypalette
-
- or
-
- aka2 myfile.iff -save myfile.slate -pf mypalette
-
- By the way, if you don't specify a save file, the AKAs will just wait
- for a return after rendering. Also, the AKAs are interuptable via
- control-c.
-
- These programs are freeware and are my contribution to the Amiga com-
- munity at large. These programs may be freely distributed as long as
- all files are included. Straylight Productions retains all rights to
- the programs. These programs may not be commercially distributed with-
- out permission from:
-
- Patrick Sheffield
- Straylight Productions
- 2050 Glencoe Way
- Hollywood, Ca 90068
-
- Source code is available upon request.
-
-