Interface TrimOptions

Options of Image.trim

interface TrimOptions {
    tolerance?: number;
}

Properties

Properties

tolerance?: number

How far (0-1) a pixel's channels may be from the color for it to be trimmed, e.g. for JPEG artifacts or antialiasing. Default: 0