home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff345.lzh / GetImage / gi.doc < prev    next >
Text File  |  1990-04-16  |  2KB  |  53 lines

  1. Article 510 of net.micro.amiga:
  2. Relay-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site unisoft.UUCP
  3. Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site well.UUCP
  4. Path: unisoft!lll-lcc!lll-crg!well!farren
  5. From: farren@well.UUCP (Mike Farren)
  6. Newsgroups: net.micro.amiga
  7. Subject: gi - a DPaint to C converter
  8. Message-ID: <589@well.UUCP>
  9. Date: 2 Feb 86 09:15:56 GMT
  10. Date-Received: 2 Feb 86 15:11:11 GMT
  11. Organization: Whole Earth Lectronic Link, Sausalito, CA
  12. Lines: 37
  13.  
  14.  
  15.      I have posted the sources for "gi" to net.sources.  gi is a program
  16. I whipped up to assist on a project I am currently working on, and which
  17. I felt would be of general use to a lot of us Amigoids.
  18.  
  19.     gi reads a DeluxePaint "brush" file, and produces an output file which
  20. contains the C statements necessary to create an Image structure, including
  21. height, width, depth, and color information, as well as the array of data
  22. which represents the bit planes of an image.  gi also allows re-assignment
  23. of the color registers used by an image (particularly useful for sprites).
  24.  
  25.     The syntax of gi is as follows:
  26.      gi <DP brush filename> <output filename>
  27. gi will read the brush file, analyze its data, and produce a list of the
  28. color register assignments used for the image.    It then allows the re-
  29. assignment of color registers.    When color register assignment is complete,
  30. it produces the output file containing the C statements.
  31.  
  32. NOTES  -   The color map data is output in packed RGB format, and is
  33.    meant as advisory information only - the output file WILL need
  34.    to be edited before it is suitable for use.
  35.  
  36. BUGS   -   Lord knows.    Probably some, although I think it mostly works.
  37.    It does enough to get MY job done, anyway.
  38.  
  39. IMPROVEMENTS POSSIBLE - Infinite.  Currently, gi does not allow duplicate
  40.    color register assignments, nor does it allow for output in "Sprite"
  41.    format.  It would be nice to "Intuitionize" gi, allowing display
  42.    of the image, menus, gadgets, etc.,    but I'll let someone else do
  43.    that.
  44.  
  45.    Have fun!
  46.  
  47. -- 
  48.            Mike Farren
  49.            uucp: {your favorite backbone site}!hplabs!well!farren
  50.            Fido: Sci-Fido, Fidonode 125/84, (415)655-0667
  51.  
  52.  
  53.