Contrast Command

Smartsite 7.8 - ...

The Contrast command adjusts the contrast of an image.

Available as of Smartsite 7.8.

Parameters

Shorthand Description
Contrast Sets the contrast level.

Command definition

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

Examples

Original image
Original image

Example: contrast filter
Contrast filter: contrast=30 (?hid=img;contrast=30;)