match-reference
Compare a composition to a reference image by rendering the current frame and returning a side-by-side view with a difference map to pinpoint deviations.
Instructions
Compare a composition against a reference image: renders the current frame, then returns a side-by-side (reference vs current) AND a difference map (bright where they differ) so you can see exactly WHERE the render deviates and converge on a match. Provide the reference as an on-disk image path. Select the comp by name or 1-based index, or leave empty for the active comp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name or 1-based index. Omit to use the active comp. | |
| time | No | Time in seconds to render (default comp midpoint). | |
| timeoutMs | No | Wait time in ms (default 90000). | |
| referencePath | Yes | Absolute path to the reference image on disk (PNG/JPG). |