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

Crop

This operation crops image borders and leaves the selected part of the image. Image size is reduced without changing image resolution, so that images are not distorted. Settings of this poeration are adjusted with the help of the following parameters:

method

Method parameter specifies the mode of Crop image operation. This parameter specifies whether other parameters should be set. Its allowed values are:

The default value is: margins.

Example:

-oper Crop method:autocrop

size

Size parameter value depends on method parameter value.

size:<X1 X2 X3 X4>

Where X1, X2, X3, X4 are whole positive numbers including 0.

The default value is: 0 0 0 0.

color

Color parameter specifies the color of the margins to be cropped in autocrop mode. The color is specified in RGB 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 Crop color:"r:255,g:255,b:255,a:100"

tolerance

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

The default value is: 0.

Example:

-oper Crop tolerance:5

general example

ICPCL.exe -convertto bmp -source "C:\Original files" -dest "C:\Converted files" -oper Crop method:margins size:100 50 100 50

general example

ICPCL.exe -convertto bmp -source "C:\Original files" -dest "C:\Converted files" -oper Crop method:rect_2p size:0 0 400 300

general example

ICPCL.exe -convertto bmp -source "C:\Original files" -dest "C:\Converted files" -oper Crop method:rect_pwh size:0 0 300 200

general example

ICPCL.exe -convertto bmp -source "C:\Original files" -dest "C:\Converted files" -oper Crop method:autocrop color:"r:255,g:255,b:255,a:100" tolerance:5

tips

  1. Crop sizes parameter should be used only if method parameter has margins, rect_2p or rect_pwh values.

    Example:

    ICPCL.exe -convertto bmp -source "C:\Original files" -dest "C:\Converted files" -oper Crop method:margins size:100 50 100 50
  2. Color sample for autocrop and tolerance sample for autocrop parameters should be used only if method parameter has autocrop value.

    Example:

    ICPCL.exe -convertto bmp -source "C:\Original files" -dest "C:\Converted files" -oper Crop method:autocrop color:"r:255,g:255,b:255,a:100" tolerance:5
  3. When working in autocrop mode, be very precise in specifying edge color to achieve better results. Tolerance sample for autocrop parameter is used when image margins are not monochromatic.

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