Crop
class Crop(val aspect: AspectRatio, val fit: Fit = Fit.Crop, val anchor: Anchor = Anchor.Center) : EffectSpec(source)
Reframe to an aspect ratio, keeping the region around anchor.
Properties
Link copied to clipboard
The target aspect ratio.
Link copied to clipboard
Link copied to clipboard
How the frame is fitted to aspect. Fit.Crop cuts the frame down to it. Fit.Contain and Fit.Stretch make a canvas of aspect and letterbox or stretch the frame into it, and every effect after this one runs on that canvas, bars included.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard