Class: CropComponent

CropComponent()

Creates a Crop component.

Constructor

new CropComponent()

Source:

Members

(static, non-null) STATE :Object

State definition.
Type:
  • Object
Source:

Methods

process(imageData) → {Promise}

Applies the brightness filter to generate a final version of the image.
Parameters:
Name Type Description
imageData Object The image representations.
Source:
Returns:
A promise that resolves when the webworker finishes processing the image for preview.
Type
Promise