Grayscale Command

Smartsite 7 - ...

The Grayscale command converts an image to grayscale.

Parameters

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

Command definition

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

Examples

Original image
Original image

Example: grayscale command
Grayscale (?hid=img;gs=1;)