Docs for libtiff read w/compression change

This commit is contained in:
Eric Soroos 2017-12-20 12:30:39 +00:00
parent e617d05b9e
commit c816932f4b

View File

@ -525,13 +525,18 @@ For more information about the SPIDER image processing package, see the
TIFF TIFF
^^^^ ^^^^
PIL reads and writes TIFF files. It can read both striped and tiled images, Pillow reads and writes TIFF files. It can read both striped and tiled
pixel and plane interleaved multi-band images, and either uncompressed, or images, pixel and plane interleaved multi-band images. If you have
Packbits, LZW, or JPEG compressed images. libtiff and its headers installed, PIL can read and write many kinds
of compressed TIFF files. If not, PIL will only read and write
uncompressed files.
If you have libtiff and its headers installed, PIL can read and write many more .. note::
kinds of compressed TIFF files. If not, PIL will always write uncompressed
files. Beginning in version 4.4.0, Pillow requires libtiff to read or
write compressed files. Prior to that release, Pillow had buggy
support for reading Packbits, LZW and JPEG compressed TIFFs
without using libtiff.
The :py:meth:`~PIL.Image.Image.open` method sets the following The :py:meth:`~PIL.Image.Image.open` method sets the following
:py:attr:`~PIL.Image.Image.info` properties: :py:attr:`~PIL.Image.Image.info` properties: