mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Fix TiffImagePlugin interpolating bytes into str.
This commit is contained in:
		
							parent
							
								
									470e3b94a8
								
							
						
					
					
						commit
						4e4fe2c172
					
				| 
						 | 
				
			
			@ -799,7 +799,7 @@ class ImageFileDirectory_v2(MutableMapping):
 | 
			
		|||
            if tag == STRIPOFFSETS:
 | 
			
		||||
                stripoffsets = len(entries)
 | 
			
		||||
            typ = self.tagtype.get(tag)
 | 
			
		||||
            logger.debug("Tag {}, Type: {}, Value: {}".format(tag, typ, value))
 | 
			
		||||
            logger.debug("Tag {}, Type: {}, Value: {!r}".format(tag, typ, value))
 | 
			
		||||
            values = value if isinstance(value, tuple) else (value,)
 | 
			
		||||
            data = self._write_dispatch[typ](self, *values)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user