image color filter

Allows you to apply a color filter to an image.


Example

Running this code will set 2 variables named "inPut" and "outPath" with the images named "Color Print Test Image 28.jpg" and "Image Color Filter.jpg", respectively.

Then, "inPut" will be set as input image path while the "outPath" will be set as output image path.

The color filter with the following properties will be applied to the input image:

  • Red: 1
  • Green: 0
  • Blue: 0
set(#inPut,"{$special folder("Application")}\\Color Print Test Image 28.jpg","Global")
set(#outPath,"{$special folder("Application")}\\Image Color Filter.jpg","Global")
plugin command("Image Automation.dll", "image color filter", #inPut, #outPath, 1, 0, 0)

Was this helpful?

Previous Article

image change resolution

Next Article

image contrast