Image Converter Command Line is a professional converter for graphic files, photos, drafts, finance documents and other images of any type.

Up-to-date technology makes it possible to create a powerful converter ideal for image processing tasks.


Download ImageConverter Plus Command Line

Replace Color

This operation is used if it is necessary to replace a color of the source image with another color, including transparency (alpha component). The following parameters are used to adjust settings of this operation:

src_color

Src_color parameter specifies the color to be replaced with another color. The color is specified in RGBA mode.

color:"r:X1,g:X2,b:X3,a:X4"

where X1, X2, X3, X4 are whole positive numbers from 0 to 255.

The default value is: "r:255,g:255,b:255,a:255" (transparent).

Example:

-oper ReplaceColor src_color:"r:255,g:255,b:0,a:100"

dest_color

Dest_color parameter specifies the color which will replace the source color. The color is specified in RGBA mode.

color:"r:X1,g:X2,b:X3,a:X4"

where X1, X2, X3, X4 are whole positive numbers from 0 to 255.

The default value is: "r:255,g:255,b:255,a:255" (transparent).

Example:

-oper ReplaceColor dest_color:"r:0,g:255,b:0,a:100"

tolerance

Tolerance parameter specifies the percentage of allowed deviation from the color specified in src_color parameter. Its allowed values are whole numbers from 0 to 100.

The default value is: 0.

Example:

-oper ReplaceColor tolerance:5

smooth

Smooth parameter tells the program to smooth color transitions in modified areas of the image. Its allowed values are:

The default value is: yes.

Example:

-oper ReplaceColor smooth:no

general example

ICPCL.exe -source "C:\Original files" -dest "C:\Converted files" -oper ReplaceColor src_color:"r:255,g:255,b:255,a:0" dest_color:"r:255,g:255,b:255,a:255" tolerance:5 smooth:no

tips

  1. For better results with color replacement, be very precise when specifying source color. Color tolerance parameter is used when you want to replace color together with its gradations.

  2. Smooth color transitions to get more natural images. Switch this option off only when you need to replace a color with another color with sharp borders, for example, to change color of the border around an image.

Convert batches of images in convenient user interface

You can test all features of Image Converter Command Line on your computer using interface to change settings.

www.imageconverterplus.com

Information for solution suppliers and system integrators

The company is happy to inform our customers about the fact that a new image conversion management tool, ImageConverter Plus Scheduler, is under private testing now.

www.command-line-imageconverterplus.com