Brightness Command

Smartsite 7.8 - ...

The Brightness command adjusts the brightness of an image.

Available as of Smartsite 7.8.

Parameters

Shorthand Description
Brightness Sets the brightness level (usually a number between 0 and 2).

Command definition

XML CopyCode image Copy Code
  <add id="brightness" type="Smartsite.ImageProcessor.Commands.BrightnessCommand, Smartsite.ImageProcessor" enabled="true">
    <parameters>
      <add name="brightness" shortcut="brightness" />
    </parameters>
  </add>

Examples

Original image
Original image

Example: brightness filter
Brightness filter: brightness=1.2 (?hid=img;brightness=1.2;)