Fit

data object Fit : LayoutScale

Empty pixels added above and below the input frame (for letterboxing), or to the left and right of the input frame (for pillarboxing), until the desired aspect ratio is achieved. All input frame pixels will be within the output frame.

When applying:

  • letterboxing, the output width will default to the input width, and the output height will be scaled appropriately.

  • pillarboxing, the output height will default to the input height, and the output width will be scaled appropriately.