rewording

This commit is contained in:
Eric Soroos 2017-09-09 10:29:49 +00:00
parent d6ec5df08d
commit 566d69483d

View File

@ -10,49 +10,45 @@ It returns single channel by index or name. For example,
``getchannel`` should work up to 6 times faster than ``image.split()[0]`` ``getchannel`` should work up to 6 times faster than ``image.split()[0]``
in previous Pillow versions. in previous Pillow versions.
Removed Core Image Debugging Code
=================================
Debugging code within ``Image.core.grabclipboard`` was removed. It had been
marked as ``will be removed in future versions`` since PIL. When enabled, it
identified the format of the clipboard data.
Partial Resampling Partial Resampling
================== ==================
New argument ``box`` for :py:meth:`PIL.Image.Image.resize` method allows Added new argument ``box`` for :py:meth:`PIL.Image.Image.resize`. This
set rect within source image which will be resized. argument defines a source rectangle from within the source image to be
This is very similar to ``image.crop(box).resize(size)`` sequence resized. This is very similar to the ``image.crop(box).resize(size)``
except that ``box`` can be with subpixel accuracy. sequence except that ``box`` can be specified with subpixel accuracy.
Loading 16-bit TIFF Images Loading 16-bit TIFF Images
========================== ==========================
Pillow now can read 16-bit multichannel TIFF files including files Pillow now can read 16-bit multichannel TIFF files including files
with alpha transparency. Such files are converted to internal with alpha transparency. The image data is truncated to 8-bit
8-bit representation. precision.
Performance Performance
=========== ===========
Many performance improvements were done, including: This release contains several performance improvements:
* Many memory bandwidth-bounded operations such as crop, image allocation, * Many memory bandwidth-bounded operations such as crop, image allocation,
conversion, split into bands and merging from bands conversion, split into bands and merging from bands are up to 2x faster.
are accelerated up to 2 times
* Upscaling of multichannel images (such as RGB) is accelerated by 5-10% * Upscaling of multichannel images (such as RGB) is accelerated by 5-10%
* Using recent libjpeg-turbo version (most installations nowadays) * JPEG loading is accelerated up to 15% and JPEG saving up to 20% when
JPEG loading is accelerated up to 15% and JPEG saving up to 20% using a recent version of libjpeg-turbo.
Removed Internal Methods Core Image API Changes
======================== ======================
From time to time we are cleaning up our internal API, These are internal functions that should not have been used by user
which is however accessible from the Python code. code, but they were accessible from the python layer.
This time ``PIL.Image.core.copy`` and ``PIL.Image.Image.im.copy2`` methods
were removed. Debugging code within ``Image.core.grabclipboard`` was removed. It had been
>>>>>>> Release notes for my changes marked as ``will be removed in future versions`` since PIL. When enabled, it
identified the format of the clipboard data.
The ``PIL.Image.core.copy`` and ``PIL.Image.Image.im.copy2`` methods
have been removed.