image remapping color

Allows you to convert the colors in 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 Remapping Color.jpg”, respectively.

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

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

  • Red: 30
  • Green: 0
  • Blue: 50
set(#inPut,"{$special folder("Application")}\\Color Print Test Image 28.jpg","Global")
set(#outPut,"{$special folder("Application")}\\Image Remapping Color.jpg","Global")
plugin command("Image Automation.dll", "image remapping color", #inPut, #outPut, 30, 0, 50)

Was this helpful?

Previous Article

image reduce file size