UnsharpeningOptions: {
    dividor?: number;
    mode?: UnsharpeningMode;
    weight?: number;
}

The unsharpening options

Type declaration

  • Optionaldividor?: number

    A floating-point number that defines the unsharpening strength.

    Lesser the value - sharper the image.

    Should be greater than zero.

  • Optionalmode?: UnsharpeningMode

    The mode in which the unsharpening mask should be applied

  • Optionalweight?: number

    A floating-point number that defines how neighbor pixels will affect the current pixel.

    Greater the value - sharper the image.

    Should be greater than zero.