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 / ReadThis < prev    next >
Text File  |  1990-04-16  |  3KB  |  54 lines

  1.          GetImage - by Michael J. Farren
  2.   A utility to convert DPaint brushes into c source code as Image structures.
  3.  
  4.    This archive contains the source & executable for gi and GetImage
  5.   by Michael J. Farren. Gi is the unadulterated program and GetImage is a
  6.   version that I hacked up a bit to suit my needs. Both programs make Image
  7.   source from a DPaint brush file, but GetImage also creates an Image
  8.   structure along with the Image data, and includes other info about the
  9.   processed Image. GetImage also does not require a destination filename.
  10.   This way your Image source file has the same name as your brush file but
  11.   with a '.c' extender.
  12.    For those of you that have used the ImageMaker program, GetImage has
  13.   one big advantage over it in that very large brushes can be processed
  14.   without getting a truncated source file. ImageMaker can't handle brushes
  15.   that are 100x20 pixels in dimension in med-res, while I have yet to have
  16.   GetImage to gag on anything.
  17.    These programs were compiled with the Aztec 3.20a compiler, but
  18.   Lattice should work just fine.
  19.    GetImage & gi run perfectly under Kickstart 1.2 beta-7(release).
  20.    If anybody makes some useful changes to these programs I'd like to
  21.   have access to the new code, as I use this program a lot.
  22.  
  23.    David Milligan (Dmil), Integrated Systems, Inc.
  24.  
  25.       CI$     - 70707,2521
  26.       BIX     - dmilligan
  27.       Plink     - Dmil
  28.       Delphi     - Dmil
  29.       The WELL - dmil
  30.  
  31.  
  32. More Updates, by Charles A. Brand
  33. ---------------------------------
  34.  
  35.    1/90 This utility has been since upgraded to:
  36.             1. Search for BODY label, instead of assuming it is allways
  37.                12 bytes passed the GRAB label.
  38.             2. Only prints the data for the bit planes that are used in
  39.                the Image, (Planes that are not all zero's), and sets
  40.                the PlanePick variable in the Image structure accordingly.
  41.             3. Prints the entire colormap and labels which colors are
  42.                used by the Image.
  43.             4. Adds the #include's needed, to the file, to allow you to
  44.                compile it immediately.
  45.             5. Show the size of the Image data array, do that you know
  46.                how many bytes of CHIP_MEM to Allocate in your program
  47.                to render the Image. (Note the array size is in WORDs, in
  48.                the outputed C file.)
  49.  
  50.                                                         Charles A. Brand
  51.                                                         January 1990
  52.                                                         CIS : 70531,2530
  53.  
  54.