mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Note that there may be an embedded gamma of 2.2 in MIC files
This commit is contained in:
parent
2d02f4ea9b
commit
5d00979dd4
|
@ -124,7 +124,7 @@ are available::
|
||||||
eliminating unused colors. This is only useful if the palette can
|
eliminating unused colors. This is only useful if the palette can
|
||||||
be compressed to the next smaller power of 2 elements.
|
be compressed to the next smaller power of 2 elements.
|
||||||
|
|
||||||
**palette**
|
**palette**
|
||||||
Use the specified palette for the saved image. The palette should
|
Use the specified palette for the saved image. The palette should
|
||||||
be a bytes or bytearray object containing the palette entries in
|
be a bytes or bytearray object containing the palette entries in
|
||||||
RGBRGB... form. It should be no more than 768 bytes. Alternately,
|
RGBRGB... form. It should be no more than 768 bytes. Alternately,
|
||||||
|
@ -789,6 +789,8 @@ PIL identifies and reads Microsoft Image Composer (MIC) files. When opened, the
|
||||||
first sprite in the file is loaded. You can use :py:meth:`~file.seek` and
|
first sprite in the file is loaded. You can use :py:meth:`~file.seek` and
|
||||||
:py:meth:`~file.tell` to read other sprites from the file.
|
:py:meth:`~file.tell` to read other sprites from the file.
|
||||||
|
|
||||||
|
Note that there may be an embedded gamma of 2.2 in MIC files.
|
||||||
|
|
||||||
MPO
|
MPO
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user