suncasa.utils.image2movie
Attributes
Functions
|
Create a movie from a series of images. |
|
Module Contents
- suncasa.utils.image2movie.create_movie_from_images(input_path, output_name='output_movie', image_format='png', frame_rate=10, resolution=None, quality=15, start_frame=0, crop_region=None, timestamps=None, image_dpi=200, preserve_temp=False, use_existing_temp=False, allow_rotation=True, force_overwrite=False)[source]
Create a movie from a series of images.
- Parameters:
input_path (str) – Path to image files or list of image paths
output_name (str) – Name of the output movie file (without extension)
image_format (str) – Format of the input image files
frame_rate (int) – Frames per second in the output movie
resolution (str) – Output movie resolution (format: ‘widthxheight’)
quality (int) – Video quality (0-51, lower is better)
start_frame (int) – Starting number for image sequence
crop_region (list) – Crop images: [left, right, top, bottom]
timestamps (list) – List of timestamps for each frame
image_dpi (int) – DPI for image processing
preserve_temp (bool) – Keep temporary files after processing
use_existing_temp (bool) – Use existing images in the temp folder
allow_rotation (bool) – Allow automatic image rotation
force_overwrite (bool) – Overwrite existing output file
- Returns:
None