Resource Base
Table of contents

IImageFilter

It is implemented by ImageFilter Class.

Members

querySupported()

Syntax

querySupported(): ImageFilterItem[];

Return Value

Please refer to ImageFilterItem.

get defaultFilterType()

Syntax

get defaultFilterType(): EnumImageFilterType;

Return Value

Please refer to EnumImageFilterType.

applyFilter()

Syntax

applyFilter(image: VImageData, type: EnumImageFilterType): Promise<Blob>;

Parameters

image: The image which will be filtered. Please refer to VImageData. type: The image filter type. Please refer to EnumImageFilterType.

Return Value

A Promise object which will be resolved with Blob of the filtered image.

destroy()

Syntax

destroy(): void;

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.0)
    • Version 1.x
      • Version 1.1
    Change +