mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +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:
|
if len(im_frames) > 1:
|
||||||
for frame_data in im_frames:
|
for frame_data in im_frames:
|
||||||
im_frame = frame_data["im"]
|
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"]:
|
if not frame_data["bbox"]:
|
||||||
# global header
|
# global header
|
||||||
for s in _get_global_header(im_frame, frame_data["encoderinfo"]):
|
for s in _get_global_header(im_frame, frame_data["encoderinfo"]):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user