Gamma Command

Smartsite 7.8 - ...

The Gamma command applies a gamma correction to an image.

Parameters

Shorthand Description
gamma The gamma correction to apply (usually a number between 0 and 2).

Command definition

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

Examples

Original image
Original image

Example: mirror horizontal
Gamma correction 1.7 (?hid=img;gamma=1.7;)