@dusrel/image API
    Preparing search index...

    Interface ResizeOptions

    interface ResizeOptions {
        fit?: ResizeFit;
        height?: number;
        width?: number;
    }
    Index
    fit?: ResizeFit

    inside (default): fit within the box, aspect preserved. cover: fill the box exactly, aspect preserved, overflow centre-cropped. fill: stretch to the box exactly, aspect not preserved. cover and fill require both width and height.

    height?: number
    width?: number