mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	reverted to original as change no longer necessary
This commit is contained in:
		
							parent
							
								
									fbcf1b617a
								
							
						
					
					
						commit
						6a5878db12
					
				| 
						 | 
					@ -209,7 +209,8 @@ class BmpImageFile(ImageFile.ImageFile):
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                raise OSError("Unsupported BMP bitfields layout")
 | 
					                raise OSError("Unsupported BMP bitfields layout")
 | 
				
			||||||
        elif file_info["compression"] == self.RAW:
 | 
					        elif file_info["compression"] == self.RAW:
 | 
				
			||||||
            pass
 | 
					            if file_info["bits"] == 32 and header == 22:  # 32-bit .cur offset
 | 
				
			||||||
 | 
					                raw_mode, self.mode = "BGRA", "RGBA"
 | 
				
			||||||
        elif file_info["compression"] == self.RLE8:
 | 
					        elif file_info["compression"] == self.RLE8:
 | 
				
			||||||
            decoder_name = "bmp_rle"
 | 
					            decoder_name = "bmp_rle"
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user