This example shows how to automatically resize images to fit the output format in Narakeet.
Check out the outcome in result.mp4
.
Upload the script
directory to a Narakeet project. The main script file is source.md
.
When adding an image to a scene, Narakeet 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:

Without additional options, Narakeet 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:

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