mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
commit
e0b153364b
|
@ -770,11 +770,9 @@ zero-indexed and random access is supported.
|
|||
PCD
|
||||
^^^
|
||||
|
||||
PIL reads PhotoCD files containing ``RGB`` data. By default, the 768x512
|
||||
resolution is read. You can use the :py:meth:`~PIL.Image.Image.draft` method to
|
||||
read the lower resolution versions instead, thus effectively resizing the image
|
||||
to 384x256 or 192x128. Higher resolutions cannot be read by the Python Imaging
|
||||
Library.
|
||||
PIL reads PhotoCD files containing ``RGB`` data. This only reads the 768x512
|
||||
resolution image from the file. Higher resolutions are encoded in a proprietary
|
||||
encoding.
|
||||
|
||||
PIXAR
|
||||
^^^^^
|
||||
|
|
|
@ -519,8 +519,11 @@ is done by reconfiguring the image decoder.
|
|||
Reading in draft mode
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
This is only available for JPEG and MPO files.
|
||||
|
||||
::
|
||||
|
||||
from PIL import Image
|
||||
from __future__ import print_function
|
||||
im = Image.open(file)
|
||||
print("original =", im.mode, im.size)
|
||||
|
|
Loading…
Reference in New Issue
Block a user