home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / Outils / Conversion / Gfx / ExtractBody372.readme < prev    next >
Encoding:
Text File  |  1998-09-24  |  1.7 KB  |  45 lines

  1. Short:    Extracts ILBM/BODY to c source for MUI programmers
  2. Author:   tolaini@freenet.hut.fi (Sandro Tolaini)
  3. Uploader: tolaini@freenet.hut.fi (Sandro Tolaini)
  4. Version:  37.2
  5. Type:     dev/c
  6. Name:     ExtractBody 37.2
  7.  
  8. ExtractBody is a small tool useful for MUI applications programmers.
  9. It can extract the BODY chunk from any IFF ILBM file, and save it in
  10. c source format. Then you can include the generated files into your
  11. program to use the MUIC_BodyChunk classes of MUI.
  12.  
  13. The program generates two files: a code (.c) file, which must be
  14. compiled, and a header (.h) file, which must be included (via the
  15. #include directive) into your c source code.
  16.  
  17. The names defined into the header file are self-explanatory. There
  18. are also an array containing the image body, and an array containing
  19. the image palette.
  20.  
  21. ExtractBody takes two arguments: the name of the Iff image file, and
  22. the destination file base name. The destination file name MUST NOT
  23. have any extension, since it is appended by the program. This name
  24. is also used in the defined names, so make sure it is composed only
  25. by numbers and letters.
  26.  
  27. A little example:
  28.  
  29. CLI> ExtractBody Work:Images/MyBrush.ilbm Work:Sources/MyBrush
  30.  
  31. will generate two files in the Work:Sources directory: MyBrush.c
  32. and MyBrush.h. In the header file, all the defined names will have
  33. BODY_MyBrush_ as a prefix.
  34.  
  35. Currently, there is not a strong error checking during the process,
  36. so please report me any bug. My address is tolaini@freenet.hut.fi,
  37. 2:332/113.3 on fidonet, or 39:102/507.3 on amiganet.
  38.  
  39. This software is FreeWare, but the source remains copyrighted by me.
  40. If you make some ShareWare or Commercial software using ExtractBody,
  41. you are requested to send me a free copy of your software.
  42.  
  43. Have fun,
  44. Sandro Tolaini
  45.