/moving_pictures

Create a movie from a sequence of images in Python (uses PIL and ffmpeg)

Primary LanguagePython

MovingPictures

Create a movie from a sequence of images in Python (uses PIL and ffmpeg). The images can be any grid of numbers stored as an array.

Installation:

pip install moving_pictures

Requires:

Usage:

    start = Image.open('start.png')
    stop = np.array(image)
    images = []
    
    for step_size in np.arange(0,1,0.001):
    	images.append(start*step_size + stop*(1-step_size))
    moving_pictures.make_movie(images, movie_name="blend.mpg")