home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 4 / AUCD4.iso / art_design / imaging / merge_sprs / !MergeSprs / !Help next >
Text File  |  1998-08-08  |  2KB  |  57 lines

  1.  _  _                   ___
  2. | \/ |___ _ _ ____ ___ / __|_ __ _ _ __
  3. |    / o_) '_/ _' / o_)\__ \ '_ \ '_( _| Front end: 0.01 (23 May 1998)
  4. |_||_\___|_| \__  \___||___/ .__/_||__)  Back end: 0.01 (23 May 1998)
  5.              |___/         |_|           © Darren Salt, 1998
  6.  
  7.  
  8. This program allows the merging of two images of the same size. All you need
  9. to do is to drag a sprite file (from a Filer window) to the MergeSprs icon on
  10. the icon bar and a save box will appear. This contains the normal save box
  11. clutter :-)
  12.  
  13.  
  14. The sprite file format
  15. ----------------------
  16.  
  17. The sprite file contaning the image to be converted may contain between two
  18. and four sprites, representing two images.
  19.  
  20. The first image may consist of one or two sprites. The first is the image to
  21. be converted, and may be of any depth and can have a palette. It may also
  22. have a mask; if not, then if the following sprite is 8bpp greyscale, it is
  23. used as an alpha channel. Otherwise, the image has no mask.
  24.  
  25. The second image immediately follows the first, and again may consist of one
  26. or two sprites. The first is the image to be converted, and may be of any
  27. depth and can have a palette. It must have either a simple mask (as part of
  28. the first sprite) or an alpha channel (this, the second sprite, must be 8bpp
  29. greyscale).
  30.  
  31. All sprites must have the same dimensions.
  32.  
  33. Output is always in the form of one 24bpp sprite of the same dimensions and a
  34. mask (if the first image had one).
  35.  
  36. A future version may attempt to convert the image to <=8bpp (without losing
  37. any palette information) and that an attempt be made to convert the alpha
  38. channel to a simple mask.
  39.  
  40.  
  41. The back end
  42. ------------
  43.  
  44. Is run in a taskwindow whenever !MergeSprs is used to convert an image. It
  45. may be used from the command line, as follows:
  46.  
  47.         <MergeSprs$Dir>.MergeSprs {src} {dest}
  48.  
  49. {src}           The source file (sprite).
  50.  
  51. {dest}          The destination file (sprite).
  52.  
  53.  
  54. Contact
  55. -------
  56.  
  57. ds@youmustbejoking.demon.co.uk