Preview frames
previewRender selected frames from a Kodecz video as lossless PNG images to inspect what you wrote instead of guessing.
Instructions
Draw some frames of a Kodecz video as lossless PNGs (the same pixels as the render, one to two seconds) and return them as images. Use it to look at what you wrote instead of guessing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id in the page's <script type="application/json" id="kodecz"> block | |
| folder | Yes | Video folder (the one with index.html), absolute or relative to the working directory | |
| frames | Yes | Frame numbers, e.g. [0, 45, 149] |