home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / Outils / Conversion / Gfx / ExtractBody372.lha / ReadMe < prev    next >
Encoding:
Text File  |  1995-08-31  |  1.7 KB  |  47 lines

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