Batch command line image resizer
Image Converter Plus
Image Converter Plus Home FeaturesDownloadOrderSupport

Introduction of ImageConverter Plus command line
Program Overview
Program Features
Comand line syntax
Script
Makebat
Source
Convertto
BMP
JPG
GIF
PNG
TGA
TIFF
PSD
EXR
DDS
PDF
EPS
MNG
Dest
Save_opt
Template
Target_opt
Add operations (-oper)
Crop
Effect
Mirror
Resize
Rotate
Replace_color
Canvas
Color_profile
Watermark
Page_filter
Sort
How to...
Launching the program
Launch the program?
Launch the program from BATCH-file?
Launch the program from another application?
Use ImageConverter Plus command line on Web-server?
Launch the program from PERL script under Windows server?
Launch the program from Cold Fusion?
Launch the program from ASP?
Hide concole window when I launch the program from my application?
Working with files and folders
Convert files from local network?
Convert files from folder with all subfolders?
Specify name of output file?
Delete source images after conversion?
Overwrite files?
Convert CALS Raster files to TIFF?
Convert DICOM image file into TIFF?
Convert PCX file into TIFF?
Convert PDF file into TIFF in batch mode?
Convert SFF files into TIFF?
Convert TIFF file with Wang OldJPEG compression into standard TIFF?
Convert WinFax files into TIFF?
Convert WPG clipart into TIFF?
Convert color image into grayscale TIFF?
Convert Group3 and Group4 Fax files into TIFF format?
Changing image size and resolution
Stretch image proportionally?
Change image resolution?
Change image size and keep resolution?
Working with border and margins
Crop white margins from photo and fax?
Add a solid border to all images?
Working with colors and transparency
Change one color to another?
Invert colors?
Convert file with CMYK color space?
Make colors transparent?
Other questions
Save each page of multipage file separately?
Find out what version of batch converter you have?
Convert TIFF file with rotation?
Create a multipage file?
Find out numeric color code?
Additional Information
Color effects
Features in details
Supported formats
Registration and licensing
License agreement
Order ImageConverter Plus
fCoder On-line
About
Online support form
Custom development

Batch command line image resizer

Resize

This function is a full-scale instrument for changing image size with a large variety of settings. The following parameters are used to adjust settings of this operation.

  • size - new size
  • units - size units (default - pixels)
  • hdpi - horizontal resolution (default - 1)
  • vdpi - vertical resolution (default - 1)
  • res_units - resolution units (default - inches)
  • keep_prop - keep original image proportions (default - yes)
  • method - rescale method (default - bilinear)
  • nozoom - don't zoom, if source image size smaller (default - no)

size

Size parameter is used to directly specify resulting image size.

size:<X Y>

X - horizontal size (whole positive number).

Y - vertical size (whole negative number).

Example:

-oper Resize size:640 480

units

Units parameter specifies units of sizes specified in size parameter. Its allowed values are:

  • pixels - file size is specified in pixels.
  • percents - file size is specified in percents of source image size.

The default value is: pixels.

Example:

-oper Resize units:percents

hdpi

Hdpi parameter specifies horizontal resolution of the resulting image. It can accept a positive number from 1 to 4096.

Example:

-oper Resize hdpi:72.000000

vdpi

Vdpi parameter specifies horizontal resolution of the resulting image. It can accept a positive number from 1 to 4096.

Example:

-oper Resize vdpi:72.000000

res_units

Res_units parameter specifies units of resolution specifies in hdpi and vdpi parameters. Its allowed values are:

  • inches - image resolution is specified in pixels per inch.
  • cm - image resolution is specified in pixels per centimeter.

The default value is: inches.

Example:

-oper Resize res_units:cm

keep_prop

Use keep_prop parameter to tell the program whether image proportions should be kept when conveting it. Its allowed values are:

  • yes - keep image proportions.
  • no - do not keep image proportions.

The default value is: yes.

Example:

-oper Resize keep_prop:no

method

Method parameter specifies the interpolation algorithm used when increasing image size. Its allowed values are:

  • nearest - fast but rough interpolation method.
  • bilinear - this method provides smoother color transitions when increasing image size. If this value is active, conversion will take more time.

The default value is: bilinear.

Example:

-oper Resize method:nearest

nozoom

Nozoom parameter specifies whether it is necessary to increase image size if it is smaller than that specified in image settings. Its allowed values are:

  • yes - do not increase smaller images.
  • no - increase smaller images.

The default value is: no.

Example:

-oper Resize nozoom:yes

ICPCL.exe -source "C:\Original files" -dest "C:\Converted files" -oper Resize size:500 100 units:pixels hdpi:72.000000 vdpi:72.000000 units:pixels res_units:cm keep_prop:no method:nearest nozoom:yes

tips

  1. Resulting image size in measure units depends on specified image size in pixels or percents from the source resolution.

  2. If keep_prop parameter is set to yes height or width of the resulting image may vary from that specified in size parameter, as it calculated from source image size.

  3. If keep_prop parameter is set to no, proportions of the resulting image may be distorted.

  4. Nozoom parameter should be set to yes only if you don't need to increase image size.

  5. Bilinear interpolation method allows receiving images of higher quality, so it is preferable in most cases. Nearest method is used on slow computers or with very large images.


© 2007, fCoder Group, Inc.
Site Map | Other Projects