home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 559a.lha / AKA / aka.doc < prev    next >
Encoding:
Text File  |  1991-09-02  |  2.7 KB  |  83 lines

  1. Uncle AKA (anti-alias)
  2.  
  3. Usage summary:
  4.  
  5. AKA [-File] <file> [options]
  6.  
  7. Where options include:
  8.  
  9.    -Palette_File <file>     (palette to use)
  10.    -SAVE   <file>           (save IFF in file)
  11.  
  12.  
  13. These two programs were written to enable me to use my Amiga along
  14. with my desktop publishing software (and the invaluable POST, post-
  15. script interpreter) with all the postscript fonts that I have as a
  16. Video Titling package.
  17.  
  18. Both programs take a single bitplane image, rendered larger than the
  19. screen, then reduce it. AKA1 halves the image, and renders it as a 4
  20. gray level image, AKA2 quarters it into a 16 level image. Both programs
  21. take the two colors in the single bitplane image and create a spread
  22. between them to render the anti-aliased image in.
  23.  
  24. AKA1 uses a very simple algorithm that requires almost no computation,
  25. thus renders almost as fast as the file can be read. AKA2 is not so
  26. lucky. It takes considerably longer, but the results are superior.
  27.  
  28. The way to use these is to go into your favorite desktop publisher (I
  29. use PPAGE), create a 9.38 by 6.4 inch page. Put a box in the center
  30. it, use whatever font you want (and have in PS format) to make your
  31. slate. Print it to a postscript file (say "myfile.ps). Now use post
  32. like this:
  33.  
  34.             for aka1:
  35.  
  36.    POST init.ps myfile.ps IFF myfile.iff SIZE x1408y960d150b
  37.  
  38.             for aka2:
  39.  
  40.    POST init.ps myfile.ps IFF myfile.iff SIZE x2816y1920d300b
  41.                               
  42. This will create an IFF file that can either be halved or quartered
  43. by one of the AKAs to make your slate. Use AKA like this:
  44.  
  45. aka1 myfile.iff -save myfile.slate
  46.  
  47.                 or
  48.  
  49. aka2 myfile.iff -save myfile.slate
  50.  
  51. This will anti-alias the input file "myfile.iff" and save it as an
  52. iff file called myfile.slate.
  53.  
  54. POST's default colors are white and black. If you would like to use
  55. other colors for your slate, simply create an empty 2 color image 
  56. in Deluxe Paint (or whatever) and set the palette to whatever two
  57. colors you'd like to use. Save this out. (Empty IFF files take very
  58. little disk space.) Now use the -pf option of AKA.
  59.  
  60. aka1 myfile.iff -save myfile.slate -pf mypalette
  61.  
  62.                 or
  63.  
  64. aka2 myfile.iff -save myfile.slate -pf mypalette
  65.  
  66. By the way, if you don't specify a save file, the AKAs will just wait
  67. for a return after rendering. Also, the AKAs are interuptable via
  68. control-c.
  69.  
  70. These programs are freeware and are my contribution to the Amiga com-
  71. munity at large. These programs may be freely distributed as long as
  72. all files are included. Straylight Productions retains all rights to
  73. the programs. These programs may not be commercially distributed with-
  74. out permission from:
  75.  
  76.    Patrick Sheffield
  77.    Straylight Productions
  78.    2050 Glencoe Way
  79.    Hollywood, Ca 90068
  80.  
  81. Source code is available upon request.
  82.  
  83.