mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
format
This commit is contained in:
parent
fcaf27d51c
commit
3c971bec41
|
@ -514,10 +514,16 @@ class TestFileGif(PillowTestCase):
|
||||||
frames.append(Image.alpha_composite(mask, image))
|
frames.append(Image.alpha_composite(mask, image))
|
||||||
|
|
||||||
# duration as list
|
# duration as list
|
||||||
frames[0].save(out,
|
frames[0].save(
|
||||||
save_all=True, append_images=frames[1:], optimize=False, duration=duration_list, loop=0,
|
out,
|
||||||
transparency=0)
|
save_all=True,
|
||||||
|
append_images=frames[1:],
|
||||||
|
optimize=False,
|
||||||
|
duration=duration_list,
|
||||||
|
loop=0,
|
||||||
|
transparency=0,
|
||||||
|
)
|
||||||
|
|
||||||
reread = Image.open(out)
|
reread = Image.open(out)
|
||||||
|
|
||||||
# Assert that the first three frames were combined
|
# Assert that the first three frames were combined
|
||||||
|
|
Loading…
Reference in New Issue
Block a user