check_palette Function

Defined in pyglet.extlibs.png

check_palette(palette)

Check a palette argument (to the Writer class) for validity. Returns the palette as a list if okay; raises an exception otherwise.

Previous topic

check_color Function

Next topic

check_sizes Function