mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Merge pull request #6662 from radarhere/pa
This commit is contained in:
		
						commit
						1f5be894b9
					
				| 
						 | 
					@ -880,7 +880,7 @@ class Image:
 | 
				
			||||||
        and the palette can be represented without a palette.
 | 
					        and the palette can be represented without a palette.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        The current version supports all possible conversions between
 | 
					        The current version supports all possible conversions between
 | 
				
			||||||
        "L", "RGB" and "CMYK." The ``matrix`` argument only supports "L"
 | 
					        "L", "RGB" and "CMYK". The ``matrix`` argument only supports "L"
 | 
				
			||||||
        and "RGB".
 | 
					        and "RGB".
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        When translating a color image to greyscale (mode "L"),
 | 
					        When translating a color image to greyscale (mode "L"),
 | 
				
			||||||
| 
						 | 
					@ -899,6 +899,9 @@ class Image:
 | 
				
			||||||
        this passes the operation to :py:meth:`~PIL.Image.Image.quantize`,
 | 
					        this passes the operation to :py:meth:`~PIL.Image.Image.quantize`,
 | 
				
			||||||
        and ``dither`` and ``palette`` are ignored.
 | 
					        and ``dither`` and ``palette`` are ignored.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        When converting from "PA", if an "RGBA" palette is present, the alpha
 | 
				
			||||||
 | 
					        channel from the image will be used instead of the values from the palette.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        :param mode: The requested mode. See: :ref:`concept-modes`.
 | 
					        :param mode: The requested mode. See: :ref:`concept-modes`.
 | 
				
			||||||
        :param matrix: An optional conversion matrix.  If given, this
 | 
					        :param matrix: An optional conversion matrix.  If given, this
 | 
				
			||||||
           should be 4- or 12-tuple containing floating point values.
 | 
					           should be 4- or 12-tuple containing floating point values.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user