home *** CD-ROM | disk | FTP | other *** search
- spr_pal
- =======
-
- Version 2.12 (20-Aug-1993)
- SPRtools block 1c release.
- (C) 1993,4 DEEJ Technology PLC
-
- Features
- --------
- Generates a pictorial representation of a sprites palette.
- Palette images can be created in the form of a !Paint type palette,
- a colour sorted bitmap, or a histogram of colour usage.
-
- Restrictions
- ------------
- Sorting of large sprites may take a long time to complete.
- The histogram process requires a large about of memory for sprites
- with many colours.
-
- Only the first sprite in the file is recognised.
-
- Syntax
- ------
- spr_pal [-h] <input sprite file> <output sprite file> [<progress/error file>]
-
- The -h option is used to produce a histogram of colour usage and may be
- used for any pixel depth. Sprites with up to 8 bpp generate !Paint style
- palette images, greater than 8 bpp give a sprite of the same size with
- the colours sorted.
-
- Files default to stdin and stdout with progress or errors to stderr.
-
- Info
- ----
- Sorting of sprite colours is by hue, if two colours have the same hue they
- are sorted on intensity.
-
- Histograms show bars of each colour sorted on hue and intensity with the
- height representing the relative use of each colour. When a large number
- of colours are used, ones with very small number of uses are not shown.
- The bars are scaled to prevent an excessively tall sprite being produced.
-
- See also spr_info.
-
- !ComndCTRL configuration file: spr_pal
-
-