Class: CropComponent

CropComponent()

Crop Component

Constructor

new CropComponent()

Source:

Members

(static, non-null) STATE :Object

State definition.
Type:
  • Object
Source:

Methods

process(imageData) → {CancellablePromise}

Applies the brighntess filter to generate a final version of the image.
Parameters:
Name Type Description
imageData Object An object with several image representations.
Source:
Returns:
A promise that will resolve when the webworker finishes processing the image for preview.
Type
CancellablePromise