next up previous contents index
Next: Saving and restoring the Up: Syntactic Sugar: Some Helpful Previous: Syntactic Sugar: Some Helpful   Contents   Index


Specifying the palette to be split: split_palette

Calling Sequence
...

  
split_palette ( [palette_name])

Description
Split the current palette (if palette_name is not present) or the specified palette (if palette_name is present) into two parts; colors 0 to 99 will be a compressed version of the original, while colors 100 to 199 will be a gray scale. For details on the available palettes, see ``palette: Set or Retrieve Palette'' on page [*].

If you use split_palette to split the palette yourself, then be sure to call pl3tree with keyword split = 0, because otherwise pl3tree will split it again, with bizarre results. Alternatively, you can use the palette function referenced above to set the palette to your choice, then call pl3tree with split = 1.



Michiel Jan Laurens de Hoon 2003-04-19