mediaforge - v0.3.0
    Preparing search index...

    Interface CropOptions

    interface CropOptions {
        width?: string | number;
        height?: string | number;
        w?: string | number;
        h?: string | number;
        x?: string | number;
        y?: string | number;
        keep_aspect?: boolean;
        exact?: boolean;
    }
    Index

    Properties

    width?: string | number
    height?: string | number
    w?: string | number
    h?: string | number
    x?: string | number

    X offset from left. Default: (iw-ow)/2

    y?: string | number

    Y offset from top. Default: (ih-oh)/2

    keep_aspect?: boolean

    Keep aspect ratio of the output

    exact?: boolean

    Apply cropping to each frame or only once at init