Skip to content

Undocumented API: saveFrameToPng() #58

@Yuelioi

Description

@Yuelioi

saveFrameToPng() Save a Single Frame as an Image

app.project.item.saveFrameToPng(time, fileObject)

Description

Saves a single frame of a composition as a PNG image.

Parameters

  • time: The time in the composition, in seconds.
  • fileObject: The file object specifying where the image will be saved.

Example

Save the frame at 1 second of the currently active composition to the desktop:

app.project.activeItem.saveFrameToPng(1, File("~/Desktop/1.png"));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions