@@ -13,25 +13,42 @@ not about removing existing functionality, but instead about raising an
1313explicit error to prevent later consequences. The ``convert `` method is the
1414correct way to change an image's mode.
1515
16- Deprecations
17- ============
16+ API Changes
17+ ===========
1818
19- TODO
20- ^^^^
19+ Accept a list in getpixel()
20+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2121
22- TODO
22+ :py:meth: `~PIL.Image.Image.getpixel ` now accepts a list of coordinates, as well
23+ as a tuple. ::
2324
24- API Changes
25- ===========
25+ from PIL import Image
26+ im = Image.new("RGB", (1, 1))
27+ im.getpixel((0, 0))
28+ im.getpixel([0, 0])
29+
30+ BoxBlur and GaussianBlur allow for different x and y radii
31+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2632
27- TODO
28- ^^^^
33+ :py:class: `~PIL.ImageFilter.BoxBlur ` and
34+ :py:class: `~PIL.ImageFilter.GaussianBlur ` now allow a sequence of x and y radii
35+ to be specified, rather than a single number for both dimensions. ::
2936
30- TODO
37+ from PIL import ImageFilter
38+ ImageFilter.BoxBlur((2, 5))
39+ ImageFilter.GaussianBlur((2, 5))
3140
3241API Additions
3342=============
3443
44+ EpsImagePlugin.gs_binary
45+ ^^^^^^^^^^^^^^^^^^^^^^^^
46+
47+ ``EpsImagePlugin.gs_windows_binary `` stores the name of the Ghostscript
48+ executable on Windows. ``EpsImagePlugin.gs_binary `` has now been added for all
49+ platforms, and can be used to customise the name of the executable, or disable
50+ use entirely through ``EpsImagePlugin.gs_binary = False ``.
51+
3552has_transparency_data
3653^^^^^^^^^^^^^^^^^^^^^
3754
@@ -43,21 +60,14 @@ channel, a palette with an alpha channel, or a "transparency" key in the
4360Even if this attribute is true, the image might still appear solid, if all of
4461the values shown within are opaque.
4562
46- Security
47- ========
48-
49- TODO
50- ^^^^
51-
52- TODO
53-
5463Other Changes
5564=============
5665
57- Added support for DDS 8-bit color indexed images
58- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66+ Added support for DDS BC5U and 8-bit color indexed images
67+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5968
60- Support has been added to read PALETTEINDEXED8 DDS files as P mode images.
69+ Support has been added to read BC5U DDS files as RGB images, and
70+ PALETTEINDEXED8 DDS files as P mode images.
6171
6272Support reading signed 8-bit YCbCr TIFF images
6373^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments