Invert Command

Smartsite 7.8 - ...

The Invert command inverts the colors of an image file (negative photo).
Available as of Smartsite 7.8.

Parameters

Shorthand Values
invert True (1) or false (0). If omitted, default = false

Command definition

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

Examples

Original image
Original image

Example: invert command
Inverted (?hid=img;invert=1;)