Skip to content

Commit 371e253

Browse files
radarhereakx
authored andcommitted
Add to list of deprecations
1 parent 3f73add commit 371e253

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

docs/deprecations.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ Image getdata()
3030
identical, except that it returns a tuple of pixel values, instead of an internal
3131
Pillow data type.
3232

33+
34+
JpegImageFile.load_djpeg
35+
~~~~~~~~~~~~~~~~~~~~~~~~
36+
37+
.. deprecated:: 13.0.0
38+
39+
``JpegImageFile.load_djpeg`` has been deprecated, and will be removed in Pillow 14
40+
(2027-10-15).
41+
42+
Use the built-in JPEG decoder instead, or call ``djpeg`` directly and decode the
43+
resulting image with Pillow.
44+
3345
Removed features
3446
----------------
3547

docs/releasenotes/13.0.0.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,11 @@ Deprecations
7272
JpegImageFile.load_djpeg
7373
^^^^^^^^^^^^^^^^^^^^^^^^
7474

75-
``JpegImageFile.load_djpeg`` has been deprecated,
76-
and will be removed in Pillow 14 (2027-10-15).
77-
78-
Use the built-in JPEG decoder instead, or call ``djpeg`` directly and
79-
decode the resulting image with Pillow.
75+
``JpegImageFile.load_djpeg`` has been deprecated, and will be removed in Pillow 14
76+
(2027-10-15).
8077

78+
Use the built-in JPEG decoder instead, or call ``djpeg`` directly and decode the
79+
resulting image with Pillow.
8180

8281
API changes
8382
===========

0 commit comments

Comments
 (0)