mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
Merge pull request #8629 from radarhere/makernote
Restored Makernote as a deprecated enum
This commit is contained in:
commit
7d5ccffae3
|
@ -175,6 +175,14 @@ deprecated and will be removed in Pillow 12 (2025-10-15). They were used for obt
|
||||||
raw pointers to ``ImagingCore`` internals. To interact with C code, you can use
|
raw pointers to ``ImagingCore`` internals. To interact with C code, you can use
|
||||||
``Image.Image.getim()``, which returns a ``Capsule`` object.
|
``Image.Image.getim()``, which returns a ``Capsule`` object.
|
||||||
|
|
||||||
|
ExifTags.IFD.Makernote
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
.. deprecated:: 11.1.0
|
||||||
|
|
||||||
|
``ExifTags.IFD.Makernote`` has been deprecated. Instead, use
|
||||||
|
``ExifTags.IFD.MakerNote``.
|
||||||
|
|
||||||
Removed features
|
Removed features
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,11 @@ TODO
|
||||||
Deprecations
|
Deprecations
|
||||||
============
|
============
|
||||||
|
|
||||||
TODO
|
ExifTags.IFD.Makernote
|
||||||
^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
TODO
|
``ExifTags.IFD.Makernote`` has been deprecated. Instead, use
|
||||||
|
``ExifTags.IFD.MakerNote``.
|
||||||
|
|
||||||
API Changes
|
API Changes
|
||||||
===========
|
===========
|
||||||
|
|
|
@ -353,6 +353,7 @@ class IFD(IntEnum):
|
||||||
Exif = 0x8769
|
Exif = 0x8769
|
||||||
GPSInfo = 0x8825
|
GPSInfo = 0x8825
|
||||||
MakerNote = 0x927C
|
MakerNote = 0x927C
|
||||||
|
Makernote = 0x927C # Deprecated
|
||||||
Interop = 0xA005
|
Interop = 0xA005
|
||||||
IFD1 = -1
|
IFD1 = -1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user