mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Missed not covered BGRa mode
This commit is contained in:
		
							parent
							
								
									2aa0d59d43
								
							
						
					
					
						commit
						eee3e2dd32
					
				| 
						 | 
				
			
			@ -288,6 +288,9 @@ class TestLibUnpack(PillowTestCase):
 | 
			
		|||
            (0,0,0,0), (16,32,48,255))
 | 
			
		||||
        self.assert_unpack("RGBA", "BGRa", 4,
 | 
			
		||||
            (191,127,63,4), (223,191,159,8), (233,212,191,12))
 | 
			
		||||
        self.assert_unpack("RGBA", "BGRa",
 | 
			
		||||
            b'\x01\x02\x03\x00\x10\x20\x30\xff',
 | 
			
		||||
            (0,0,0,0), (48,32,16,255))
 | 
			
		||||
        self.assert_unpack("RGBA", "RGBA;I", 4,
 | 
			
		||||
            (254,253,252,4), (250,249,248,8), (246,245,244,12))
 | 
			
		||||
        self.assert_unpack("RGBA", "RGBA;L", 4,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user