File: ImagePalette.rst

package info (click to toggle)
pillow 12.1.1-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 72,624 kB
  • sloc: python: 49,768; ansic: 38,750; makefile: 302; sh: 169; javascript: 85
file content (17 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. py:module:: PIL.ImagePalette
.. py:currentmodule:: PIL.ImagePalette

:py:mod:`~PIL.ImagePalette` module
==================================

The :py:mod:`~PIL.ImagePalette` module contains a class of the same name to
represent the color palette of palette mapped images.

.. note::

    The :py:class:`~PIL.ImagePalette.ImagePalette` class has several methods,
    but they are all marked as "experimental." Read that as you will. The
    ``[source]`` link is there for a reason.

.. autoclass:: PIL.ImagePalette.ImagePalette
    :members: