Document.adjustments - Marcotrombino/Pandora2 GitHub Wiki

@property Document.adjustments

Adjustment methods

@global object : Document

@properties : @methods

Name Type Description
data Array Canvas data before being processed
🔴 params Array adjustment parameters
@return: data Array Canvas data after being processed

@properties:

  • @method: brightness
Name Type Value Description
🔴 value Number -150 to 150 Adjustment value
  • @method: contrast
Name Type Value Description
🔴 value Number -50 to 100 Adjustment value
  • @method: exposure
Name Type Value Description
🔴 value Number -100 to 100 Adjustment value
  • @method: colorBalance
Name Type Value Description
🔴 R Number -255 to 255 Red channel adjustment value
🔴 G Number -255 to 255 Green channel adjustment value
🔴 B Number -255 to 255 Blue channel adjustment value
  • @method: threshold
Name Type Value Description
🔴 value Number 0 to 255 Adjustment value
  • @method: gamma
Name Type Value Description
🔴 value Number 0 to 5 Adjustment value
  • @method: vibrance
Name Type Value Description
🔴 value Number -100 to 100 Adjustment value
  • @method: saturation
Name Type Value Description
🔴 value Number 0 to 10 Adjustment value
  • @method: hue
Name Type Value Description
🔴 value Number 0 to 360 Adjustment value