Skip to main content
You're viewing documentation for a previous version of this software.Switch to the latest stable version

Adjustments

The Adjustment tool set of the VideoEditor SDK for Android offers essential and advanced editing functions like Brightness, Contrast, Saturation or Exposure

Adjustments tool

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.

The backend settings are implemented in the ColorAdjustmentSettings class and displayed using the AdjustmentToolPanel. If you want to customize the appearance of this tool, take a look at the customization section.

The available toolset consists of:

  1. Brightness
  2. Contrast
  3. Saturation
  4. Clarity
  5. Shadows
  6. Highlights
  7. Exposure
  8. Gamma

Toolset configuration#

UiConfigAdjustment uiConfigAdjustment = settingsList.getSettingsModel(UiConfigAdjustment.class);
uiConfigAdjustment.setOptionList(
new AdjustOption(AdjustmentToolPanel.OPTION_BRIGHTNESS, R.string.pesdk_adjustments_button_brightnessTool, ImageSource.create(R.drawable.imgly_icon_option_brightness)),
new AdjustOption(AdjustmentToolPanel.OPTION_CONTRAST, R.string.pesdk_adjustments_button_contrastTool, ImageSource.create(R.drawable.imgly_icon_option_contrast)),
new AdjustOption(AdjustmentToolPanel.OPTION_SATURATION, R.string.pesdk_adjustments_button_saturationTool, ImageSource.create(R.drawable.imgly_icon_option_saturation)),
new AdjustOption(AdjustmentToolPanel.OPTION_CLARITY, R.string.pesdk_adjustments_button_clarityTool, ImageSource.create(R.drawable.imgly_icon_option_clarity)),
new AdjustOption(AdjustmentToolPanel.OPTION_SHADOW, R.string.pesdk_adjustments_button_shadowTool, ImageSource.create(R.drawable.imgly_icon_option_shadow)),
new AdjustOption(AdjustmentToolPanel.OPTION_HIGHLIGHT, R.string.pesdk_adjustments_button_highlightTool, ImageSource.create(R.drawable.imgly_icon_option_highlight)),
new AdjustOption(AdjustmentToolPanel.OPTION_EXPOSURE, R.string.pesdk_adjustments_button_exposureTool, ImageSource.create(R.drawable.imgly_icon_option_exposure)),
new AdjustOption(AdjustmentToolPanel.OPTION_GAMMA, R.string.pesdk_adjustments_button_gammaTool, ImageSource.create(R.drawable.imgly_icon_option_gamma))
);