Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 1.08 KB

README.md

File metadata and controls

30 lines (15 loc) · 1.08 KB

Video Puppet image sizing example

This example shows how to automatically resize images to fit the output format in Video Puppet.

Check out the outcome in result.mp4.

Try it out

Upload the script directory to a Video Puppet project. The main script file is source.md.

How it works

When adding an image to a scene, Video Puppet will automatically resize it to fit the target video format. You can control resizing by adding an option to the square brackets when setting the video. For example, to shrink and pad a larger image to fit the smaller target size, use the contain option:

![contain](image.png)

Without additional options, Video Puppet will crop a large image around the center to cover the video size. If you want to show a different part of the image, specify the cropping position. For example, the following scene takes the left part of an image instead of the center:

![left](file.png)

For available sizing and position options, check out Scene Image documentation.