image converter

Allows you to change GIF colors or compress 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 Convert.gif", respectively.

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

The image will be converted with the following properties:

  • GIF colors: 128
  • JPEG compression: 50
set(#inPut,"{$special folder("Application")}\\Color Print Test Image 28.jpg","Global")
set(#outPut,"{$special folder("Application")}\\Image Convert.gif","Global")
plugin command("Image Automation.dll", "image converter", #inPut, #outPut, 128, 50)

Was this helpful?

Previous Article

image contrast

Next Article

image converter webp