|
1 | 1 | 4.2.0
|
2 | 2 | -----
|
3 | 3 |
|
| 4 | +Deprecations |
| 5 | +============ |
| 6 | + |
| 7 | +Several deprecated items have been removed |
| 8 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 9 | + |
| 10 | +* The methods ``PIL.ImageWin.Dib.fromstring``, |
| 11 | + ``PIL.ImageWin.Dib.tostring`` and |
| 12 | + ``PIL.TiffImagePlugin.ImageFileDirectory_v2.as_dict`` have |
| 13 | + been removed. |
| 14 | + |
| 15 | +* Before Pillow 4.2.0, attempting to save an RGBA image as JPEG would |
| 16 | + discard the alpha channel. From Pillow 3.4.0, a deprecation warning |
| 17 | + was shown. From Pillow 4.2.0, the deprecation warning is removed and |
| 18 | + an :py:exc:`IOError` is raised. |
| 19 | + |
| 20 | +Removed Core Image Function |
| 21 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 22 | + |
| 23 | +The unused function ``Image.core.new_array`` was removed. This is an |
| 24 | +internal function that should not have been used by user code, but it |
| 25 | +was accessible from the python layer. |
| 26 | + |
4 | 27 | Other Changes
|
5 | 28 | =============
|
6 | 29 |
|
@@ -30,26 +53,3 @@ New DecompressionBomb Warning
|
30 | 53 | :py:meth:`PIL.Image.Image.crop` now may raise a DecompressionBomb
|
31 | 54 | warning if the crop region enlarges the image over the threshold
|
32 | 55 | specified by :py:data:`PIL.Image.MAX_IMAGE_PIXELS`.
|
33 |
| - |
34 |
| -Deprections |
35 |
| -=========== |
36 |
| - |
37 |
| -Several deprecated items have been removed |
38 |
| -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
39 |
| - |
40 |
| -* The methods ``PIL.ImageWin.Dib.fromstring``, |
41 |
| - ``PIL.ImageWin.Dib.tostring`` and |
42 |
| - ``PIL.TiffImagePlugin.ImageFileDirectory_v2.as_dict`` have |
43 |
| - been removed. |
44 |
| - |
45 |
| -* Before Pillow 4.2.0, attempting to save an RGBA image as JPEG would |
46 |
| - discard the alpha channel. From Pillow 3.4.0, a deprecation warning |
47 |
| - was shown. From Pillow 4.2.0, the deprecation warning is removed and |
48 |
| - an :py:exc:`IOError` is raised. |
49 |
| - |
50 |
| -Removed Core Image Function |
51 |
| -^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
52 |
| - |
53 |
| -The unused function ``Image.core.new_array`` was removed. This is an |
54 |
| -internal function that should not have been used by user code, but it |
55 |
| -was accessible from the python layer. |
0 commit comments