mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Removed code not required by tests
This commit is contained in:
parent
c3e982e0c6
commit
3e4db05249
|
@ -471,9 +471,6 @@ def _write_multiple_frames(im, fp, palette):
|
|||
if len(im_frames) > 1:
|
||||
for frame_data in im_frames:
|
||||
im_frame = frame_data["im"]
|
||||
if("disposal" in frame_data["encoderinfo"]
|
||||
and frame_data["encoderinfo"]["disposal"] == 2):
|
||||
frame_data['encoderinfo']['include_color_table'] = True
|
||||
if not frame_data["bbox"]:
|
||||
# global header
|
||||
for s in _get_global_header(im_frame, frame_data["encoderinfo"]):
|
||||
|
|
Loading…
Reference in New Issue
Block a user