[Python] How to make a movie out of images in python

Discussão em 'Python' iniciado por Stack, Julho 19, 2025.

  1. Stack

    Stack Membro Participativo

    I currently try to make a movie out of images, but i could not find anything helpful .

    Here is my code so far:

    import time

    from PIL import ImageGrab

    x =0

    while True:
    try:
    x+= 1
    ImageGrab().grab().save('img{}.png'.format(str(x))
    except:
    movie = #Idontknow
    for _ in range(x):
    movie.save("img{}.png".format(str(_)))

    movie.save()

    Continue reading...

Compartilhe esta Página