Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version