chmode
======

Version 1.51 (06-Apr-1998)
SPRtools block 1h release.
(C) 1993-1998 DEEJ Technology PLC

Features
--------
Sprite mode changer.
Can be used to change unknown mode number to ones that the SPRtools
understand.

Restrictions
------------
chmode only changes the mode number stored in the sprite, it does not
alter the bits per pixel of the image.

SPRtools will only understand RISC OS 3.1 modes, modes from the DEEJmodes
module and the new RISC OS 3.5 mode specifiers.

User defined modes may differ from SPRtools modes, and old applications may
not understand 1-8 bpp sprites using RISC OS 3.5 mode specifiers. Use
chmode to change the sprite to an appropriate alternative mode.

Only the first sprite in the file is recognised.

Syntax
------
chmode <sprite file> {<mode> | {<type> <xres> <yres>}}

where:	<mode>	mode number.
	<type>	new mode specifier type 1 to 8
			1 = 1 bpp
			2 = 2 bpp
			3 = 4 bpp
			4 = 8 bpp
			5 = 15 bpp (15/16 bit format)
			6 = 24 bpp (24/32 bit format)
			7 = 32 bpp CMYK (not supported by SPRtools)
			8 = 24 bpp (true 24 bit unofficial SPRtools format)
	<xres>	X resolution either 45 or 90
	<yres>	Y resolution either 45 or 90

Info
----
With new mode specifiers use xres and yres 90,90 for square pixel modes
and 90,45 for rectangular pixel modes. A mode 13 type should use 45,45.

See also spr_info.

!ComndCTRL configuration file: chmode

