Skip to content

Undocumented API: saveFrameToPng() #58

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"));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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