Trilium Frontend API
    Preparing search index...

    Interface ResizeOptions

    interface ResizeOptions {
        height?: number;
        quality?: "good" | "better" | "best";
        width?: number;
    }
    Index

    Properties

    height?: number

    Defaults to the image's height.

    quality?: "good" | "better" | "best"

    The desired quality of the resize image. Possible values include good, better, or best. The default is best. These values express a desired quality/speed tradeoff. They are translated into an algorithm-specific method that depends on the capabilities (CPU, GPU) of the underlying platform. It is possible for all three methods to be mapped to the same algorithm on a given platform.

    width?: number

    Defaults to the image's width.