mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	
						commit
						c9859ddf9c
					
				| 
						 | 
					@ -27,6 +27,8 @@ image. The current release supports the following standard modes:
 | 
				
			||||||
    * ``RGBA`` (4x8-bit pixels, true color with transparency mask)
 | 
					    * ``RGBA`` (4x8-bit pixels, true color with transparency mask)
 | 
				
			||||||
    * ``CMYK`` (4x8-bit pixels, color separation)
 | 
					    * ``CMYK`` (4x8-bit pixels, color separation)
 | 
				
			||||||
    * ``YCbCr`` (3x8-bit pixels, color video format)
 | 
					    * ``YCbCr`` (3x8-bit pixels, color video format)
 | 
				
			||||||
 | 
					    * ``LAB`` (3x8-bit pixels, the L*a*b color space)
 | 
				
			||||||
 | 
					    * ``HSV`` (3x8-bit pixels, Hue, Saturation, Value color space)
 | 
				
			||||||
    * ``I`` (32-bit signed integer pixels)
 | 
					    * ``I`` (32-bit signed integer pixels)
 | 
				
			||||||
    * ``F`` (32-bit floating point pixels)
 | 
					    * ``F`` (32-bit floating point pixels)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,7 +36,7 @@ PIL also provides limited support for a few special modes, including ``LA`` (L
 | 
				
			||||||
with alpha), ``RGBX`` (true color with padding) and ``RGBa`` (true color with
 | 
					with alpha), ``RGBX`` (true color with padding) and ``RGBa`` (true color with
 | 
				
			||||||
premultiplied alpha). However, PIL doesn’t support user-defined modes; if you
 | 
					premultiplied alpha). However, PIL doesn’t support user-defined modes; if you
 | 
				
			||||||
to handle band combinations that are not listed above, use a sequence of Image
 | 
					to handle band combinations that are not listed above, use a sequence of Image
 | 
				
			||||||
objects.
 | 
					objects. 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can read the mode of an image through the :py:attr:`~PIL.Image.Image.mode`
 | 
					You can read the mode of an image through the :py:attr:`~PIL.Image.Image.mode`
 | 
				
			||||||
attribute. This is a string containing one of the above values.
 | 
					attribute. This is a string containing one of the above values.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user