API

Variable LoadImageConfigurationConst

LoadImageConfiguration: {
    getRequiredSize: Nullable<
        (
            input: string | ArrayBuffer | ArrayBufferView | Blob,
        ) => { height: number; width: number },
    >;
} = ...

Configuration used to load images

Type Declaration

  • getRequiredSize: Nullable<
        (
            input: string | ArrayBuffer | ArrayBufferView | Blob,
        ) => { height: number; width: number },
    >

    Use this callback if you want to provide the required size of an image before loading it.