image grayscale

Allows you to convert an image into grayscale.


Example

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

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

Grayscale filter will be applied to "Image Grayscale.jpg".

set(#inPut,"{$special folder("Application")}\\Color Print Test Image 28.jpg","Global")
set(#outPut,"{$special folder("Application")}\\Image Grayscale.jpg","Global")
plugin command("Image Automation.dll", "image grayscale", #inPut, #outPut)

Was this helpful?

Previous Article

image gaussian sharpen layer

Next Article

image hsl