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;