resolution
Adds a new Presentation effect for setting the width and height of the output.
The output frame will have the given width and height, given a Presentation.Layout. Width and height must be positive integers representing the output frame's width and height.
Parameters
The width of the output frame, in pixels.
The height of the output frame, in pixels.
The LayoutScale to use when resizing the input frame to the output frame.
Adds a new Presentation effect for setting the height of the output.
The output frame will have the given height. Width will scale to preserve the input aspect ratio. For example, a 1920x1440 video can be scaled to 640x480 by passing a height of 480.
Parameters
The height of the output frame, in pixels
Adds a new Presentation effect for setting the aspect ratio of the output.
The output frame will have the given aspect ratio (width/height ratio). Width or height will be resized to conform to this aspectRatio, given a scale.
Parameters
The aspect ratio (width/height ratio) of the output frame. Must be positive.
The LayoutScale to use when resizing the input frame to the output frame.