AnimationFramePackage

AnimationFramePackage

Overview

AnimationFramePackage is a class in Aspose.Font FOSS for Python.

AnimationFramePackage.write_to(path) writes the storyboard image, each frame image, and a JSON manifest describing fps and frame labels to the specified directory.

This class provides 1 method for working with AnimationFramePackage objects in Python programs. Available methods include: write_to. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: directory_name, fps, frame_labels, frames, manifest_name, storyboard.

Properties

NameTypeAccessDescription
directory_namestrReadGets the directory name.
storyboardPreviewImageReadGets the storyboard.
manifest_namestrReadGets the manifest name.
framestuple[PreviewImage, ...]ReadGets the frames.
fpsintReadGets the fps.
frame_labelstuple[str, ...]ReadGets the frame labels.

Methods

SignatureDescription
write_to(path: str | Path)PathCreates the target directory, writes the storyboard image and each frame image, and generates a JSON manifest describing fps, frame count, and optional frame labels

See Also