mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Added release notes for 7.2.0 [ci skip]
This commit is contained in:
		
							parent
							
								
									41a75210b5
								
							
						
					
					
						commit
						e19713ebc9
					
				
							
								
								
									
										29
									
								
								docs/releasenotes/7.2.0.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								docs/releasenotes/7.2.0.rst
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,29 @@
 | 
			
		|||
7.2.0
 | 
			
		||||
-----
 | 
			
		||||
 | 
			
		||||
API Changes
 | 
			
		||||
===========
 | 
			
		||||
 | 
			
		||||
Replaced TiffImagePlugin DEBUG with logging
 | 
			
		||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
			
		||||
 | 
			
		||||
``TiffImagePlugin.DEBUG = True`` has been a way to print various debugging
 | 
			
		||||
information when interacting with TIFF images. This has now been removed
 | 
			
		||||
in favour of Python's ``logging`` module, already used in other places in the
 | 
			
		||||
Pillow source code.
 | 
			
		||||
 | 
			
		||||
Corrected default offset when writing EXIF data
 | 
			
		||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
			
		||||
 | 
			
		||||
Previously, the default ``offset`` argument for
 | 
			
		||||
:py:meth:`~PIL.Image.Exif.tobytes` was 0, which did not include the magic
 | 
			
		||||
header. It is now 8.
 | 
			
		||||
 | 
			
		||||
Moved to ImageFileDirectory_v2 in Image.Exif
 | 
			
		||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
			
		||||
 | 
			
		||||
Moved from the legacy :py:class:`PIL.TiffImagePlugin.ImageFileDirectory_v1` to
 | 
			
		||||
:py:class:`PIL.TiffImagePlugin.ImageFileDirectory_v2` in
 | 
			
		||||
:py:class:`PIL.Image.Exif`. This means that Exif RATIONALs and SIGNED_RATIONALs
 | 
			
		||||
as now read as :py:class:`PIL.TiffImagePlugin.IFDRational`, instead of as a
 | 
			
		||||
tuple with a numerator and a denominator.
 | 
			
		||||
| 
						 | 
				
			
			@ -6,6 +6,7 @@ Release Notes
 | 
			
		|||
.. toctree::
 | 
			
		||||
  :maxdepth: 2
 | 
			
		||||
 | 
			
		||||
  7.2.0
 | 
			
		||||
  7.1.2
 | 
			
		||||
  7.1.1
 | 
			
		||||
  7.1.0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user