All Projects → iskandr → moving_pictures

iskandr / moving_pictures

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

Programming Languages

python
139335 projects - #7 most used programming language

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") 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].