Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## palette-size

Arguments: graphical-stream

Returns the number of entries in the palette of its the specified `graphical-stream` (see open-palette). If the value of palette for the argument is `nil` or `:rgb`, that value is returned rather than a number.

palette-size is a property of the `graphical-stream` class.

In releases prior to 7.0, there was a palette-size method for pixmaps. This method has been removed. Use bits-per-pixel instead.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version