W-CF Documentation - v11.0.0
    Preparing search index...

    Interface ResizeOptions

    interface ResizeOptions {
        height: number;
        keepAspectRatio?: boolean;
        mimeType?: string;
        width: number;
    }
    Index
    height: number

    new height of the image

    keepAspectRatio?: boolean

    if false the aspect ratio of the resulting image may change (default: true)

    mimeType?: string

    mime type of the resulting dataUri / blob (default: "image/png")

    width: number

    new width of the image