Preview frame
ae_render_frameRenders a frame from an After Effects composition as an image so you can visually verify edits, with zoom, layer isolation, transparency, and difference comparison options.
Instructions
Render a frame of a composition and return it as an image, so you can SEE the result. Inspection options: zoom into a region, render only some layers, show transparency on a checkerboard or a color, and compare against another time or comp as a difference image (black = identical). Large frames are downscaled to maxSize. Use it after visual edits; for motion use ae_render_contact_sheet, for exact colors ae_sample_pixels (via ae_call). Renders through a temporary comp, removed afterwards (hidden layers put back); writes a file only with outputPath, never replacing one unless overwrite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition: item id (number) or exact name. Omit (or "active") for the active/open composition. | |
| time | No | Time in seconds (default: the comp's current time). | |
| layers | No | Render only these layers (others are hidden for the render and restored). | |
| region | No | Zoom into [x, y, width, height] in comp pixels (scaled up to maxSize, at most 8x). | |
| maxSize | No | Longest side in pixels of the returned image (default 1280). | |
| overwrite | No | Replace an existing file at outputPath (default false: refuse). | |
| background | No | "checkerboard" to show transparency, or a color like "#808080" behind the comp. | |
| outputPath | No | Optional absolute path to also save the PNG to. | |
| compareWith | No | Difference image against another time and/or comp (black where identical). |