mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-30 23:47:27 +03:00 
			
		
		
		
	Add missing ImageModes
The modes are mentioned in the docs, but weren't part of ImageMode.
This commit is contained in:
		
							parent
							
								
									0648692b2c
								
							
						
					
					
						commit
						f40c005399
					
				|  | @ -52,6 +52,11 @@ def getmode(mode): | |||
|             "HSV": ("RGB", "L", ("H", "S", "V")), | ||||
|             # extra experimental modes | ||||
|             "RGBa": ("RGB", "L", ("R", "G", "B", "a")), | ||||
|             "BGR": ("BGR", "L", ("B", "G", "R")), | ||||
|             "BGR;15": ("RGB", "L", ("B", "G", "R")), | ||||
|             "BGR;16": ("RGB", "L", ("B", "G", "R")), | ||||
|             "BGR;24": ("RGB", "L", ("B", "G", "R")), | ||||
|             "BGR;32": ("RGB", "L", ("B", "G", "R")), | ||||
|             "LA": ("L", "L", ("L", "A")), | ||||
|             "La": ("L", "L", ("L", "a")), | ||||
|             "PA": ("RGB", "L", ("P", "A")), | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user