home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilss / sprtools / docs / spr_pal < prev    next >
Text File  |  1995-03-10  |  1KB  |  47 lines

  1. spr_pal
  2. =======
  3.  
  4. Version 2.12 (20-Aug-1993)
  5. SPRtools block 1c release.
  6. (C) 1993,4 DEEJ Technology PLC
  7.  
  8. Features
  9. --------
  10. Generates a pictorial representation of a sprites palette.
  11. Palette images can be created in the form of a !Paint type palette,
  12. a colour sorted bitmap, or a histogram of colour usage.
  13.  
  14. Restrictions
  15. ------------
  16. Sorting of large sprites may take a long time to complete.
  17. The histogram process requires a large about of memory for sprites
  18. with many colours.
  19.  
  20. Only the first sprite in the file is recognised.
  21.  
  22. Syntax
  23. ------
  24. spr_pal [-h] <input sprite file> <output sprite file> [<progress/error file>]
  25.  
  26. The -h option is used to produce a histogram of colour usage and may be
  27. used for any pixel depth. Sprites with up to 8 bpp generate !Paint style
  28. palette images, greater than 8 bpp give a sprite of the same size with
  29. the colours sorted.
  30.  
  31. Files default to stdin and stdout with progress or errors to stderr.
  32.  
  33. Info
  34. ----
  35. Sorting of sprite colours is by hue, if two colours have the same hue they
  36. are sorted on intensity.
  37.  
  38. Histograms show bars of each colour sorted on hue and intensity with the
  39. height representing the relative use of each colour. When a large number
  40. of colours are used, ones with very small number of uses are not shown.
  41. The bars are scaled to prevent an excessively tall sprite being produced.
  42.  
  43. See also spr_info.
  44.  
  45. !ComndCTRL configuration file: spr_pal
  46.  
  47.