mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Palette is unneeded as RGB to P conversion will not occur
This commit is contained in:
		
							parent
							
								
									b98dc8abe1
								
							
						
					
					
						commit
						c9ba107c2c
					
				|  | @ -1104,10 +1104,7 @@ def _write_multiple_frames(im, fp, chunk, rawmode, default_image, append_images) | |||
|             if im_frame.mode == rawmode: | ||||
|                 im_frame = im_frame.copy() | ||||
|             else: | ||||
|                 if rawmode == "P": | ||||
|                     im_frame = im_frame.convert(rawmode, palette=im.palette) | ||||
|                 else: | ||||
|                     im_frame = im_frame.convert(rawmode) | ||||
|                 im_frame = im_frame.convert(rawmode) | ||||
|             encoderinfo = im.encoderinfo.copy() | ||||
|             if isinstance(duration, (list, tuple)): | ||||
|                 encoderinfo["duration"] = duration[frame_count] | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user