mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	fix ImageMath creating false index entries
(cherry picked from commit eebecba3c2)
			
			
This commit is contained in:
		
							parent
							
								
									bd2c705606
								
							
						
					
					
						commit
						5e4c3ae554
					
				| 
						 | 
				
			
			@ -98,20 +98,24 @@ These functions are applied to each individual pixel.
 | 
			
		|||
.. py:currentmodule:: None
 | 
			
		||||
 | 
			
		||||
.. py:function:: abs(image)
 | 
			
		||||
    :noindex:
 | 
			
		||||
 | 
			
		||||
    Absolute value.
 | 
			
		||||
 | 
			
		||||
.. py:function:: convert(image, mode)
 | 
			
		||||
    :noindex:
 | 
			
		||||
 | 
			
		||||
    Convert image to the given mode. The mode must be given as a string
 | 
			
		||||
    constant.
 | 
			
		||||
 | 
			
		||||
.. py:function:: float(image)
 | 
			
		||||
    :noindex:
 | 
			
		||||
 | 
			
		||||
    Convert image to 32-bit floating point. This is equivalent to
 | 
			
		||||
    convert(image, “F”).
 | 
			
		||||
 | 
			
		||||
.. py:function:: int(image)
 | 
			
		||||
    :noindex:
 | 
			
		||||
 | 
			
		||||
    Convert image to 32-bit integer. This is equivalent to convert(image, “I”).
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -119,9 +123,11 @@ These functions are applied to each individual pixel.
 | 
			
		|||
    integers if necessary to get a correct result.
 | 
			
		||||
 | 
			
		||||
.. py:function:: max(image1, image2)
 | 
			
		||||
    :noindex:
 | 
			
		||||
 | 
			
		||||
    Maximum value.
 | 
			
		||||
 | 
			
		||||
.. py:function:: min(image1, image2)
 | 
			
		||||
    :noindex:
 | 
			
		||||
 | 
			
		||||
    Minimum value.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user