ColorTint Command

Smartsite 7.8 - ...

The ColorTint command adjusts the blue, green and/or red tints of an image.

Available as of Smartsite 7.8.

Parameters

Shorthand Values
bluetint A value between 0 and 2.
greentint A value between 0 and 2.
redtint A value between 0 and 2.

Command definition

XML CopyCode image Copy Code
  <add id="colortint" type="Smartsite.ImageProcessor.Commands.ColorTintCommand, Smartsite.ImageProcessor" enabled="true">
    <parameters>
      <add name="bluetint" shortcut="bluetint" />
      <add name="greentint" shortcut="greentint" />
      <add name="redtint" shortcut="redtint" />
    </parameters>
  </add>

Examples

Original image
Original image

Example: colortint effect
Color tint: redtint=0.5 (?hid=img;redtint=0.5;)

Example: colortint effect
Color tint: greentint=0.5 (?hid=img;greentint=0.5;)

Example: colortint effect
Color tint: bluetint=0.5 (?hid=img;bluetint=0.5;)