Docs
API Docs

Adjustments

Our Adjustment tool is our swiss army knife for image optimization. It offers essential functions like brightness and contrast, while allowing more expert users to fine tune highlights, shadows and clarity.

Specifying which adjustments are available

In order to enable or disable specific adjustments, simply pass the availableAdjustments option to the adjustments controls. This option should be an array of adjustment identifiers of which the following are available: brightness, saturation, contrast, gamma, clarity, exposure, shadows, highlights

const editor = new PhotoEditorSDK.UI.DesktopUI({
  editor: {
    controlsOptions: {
      adjustments: {
        availableAdjustments: ['brightness', 'saturation', 'contrast']
      }
    }
  }
})