Contents | Index | < Browse | Browse >
PALETTE LOAD|SAVE|SET|GET|REMAP Source Destination
This command will allow you to do just about anything involving
palettes. The keywords you can use take different arguments,
as follows :
LOAD DiskFile ImageAlias(create if non-existant)
Load a palette from a file, into an image's palette. If
the image does not exist, an empty one will be created
having a depth of however many colors the palette has.
SAVE ImageAlias DiskFile
Will save an image's palette into a given file, in standard
IFF format.
SET ImageAlias ScreenName
Will change the palette for the given screen to the images's.
GET ScreenName ImageAlias(create if non-existant)
Will copy the given screen's palette, into the image's. Again,
if the image does not exist, it will be created.
REMAP FromImageAlias ToImageAlias
Will remap the "FromImageAlias" to match the palette that
"ToImageAlias" has.
Example : Run Gui Source