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
| Name | Type | Access | Description |
|---|---|---|---|
directory_name | str | Read | Gets the directory name. |
storyboard | PreviewImage | Read | Gets the storyboard. |
manifest_name | str | Read | Gets the manifest name. |
frames | tuple[PreviewImage, ...] | Read | Gets the frames. |
fps | int | Read | Gets the fps. |
frame_labels | tuple[str, ...] | Read | Gets the frame labels. |
Methods
| Signature | Description |
|---|---|
write_to(path: str | Path) → Path | Creates the target directory, writes the storyboard image and each frame image, and generates a JSON manifest describing fps, frame count, and optional frame labels |