modif gif animé
This commit is contained in:
parent
5b82fbc8cb
commit
bebc04a0ab
Binary file not shown.
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 98 KiB |
2
main7.py
2
main7.py
@ -64,7 +64,7 @@ if __name__ == '__main__':
|
|||||||
print('Création du GIF animé.')
|
print('Création du GIF animé.')
|
||||||
images[0].save(filename+'.gif', save_all=True,
|
images[0].save(filename+'.gif', save_all=True,
|
||||||
append_images=images, optimize=True,
|
append_images=images, optimize=True,
|
||||||
duration=500)
|
duration=500, loop=1)
|
||||||
os.system('rm -f {:s}'.format(filename))
|
os.system('rm -f {:s}'.format(filename))
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user