Image Processing Commander

Contents

DESCRIPTION 

Image Processing Commander is a small and simple command-line utility that allows you to convert, resize, watermark or rename images quickly and easily. With it you can process a large numbers of graphics files at a time.

Image Processing Commander is reliability and stability also make it the perfect graphics kernel for integration into your own software applications or for Web-server integration.

USAGE

ipc   [-ShortOptions or --LongOptions]   "SOURCE-FILES"   "DIRECTORY"
or
ipc   [-h or --help]

OPTIONS

The following options are available:

-c config-filename or --config=config-filename
Specify a existing configuration file for processing. If don't specify, the program will load default.ini from 'conf' folder.

-s or --subdir
Use this option to include all of subdirectories files when scanning source files.

-r or --resize=width X height
Resize the image using specified width and height. For example:

ipc   -r 600x480   "/home/photo/*.jpg"   "/home/tom/converted/"

-n number, --number=number
Specify the serial number start with a number for numeric enumerator.

-h or --help
Print usage instructions.

SOURCE-FILES

Specify source image files path and filename mask. For example:

ipc   "/home/tom/photo/11*.jpg"   "/home/tom/converted/"

Filename mask is optional. It can contain the wildcard characters. '?' matches any single character and '*' matches 0 ore more arbitrary characters. If you don't specify filename mask, the program will use '*.*' ( any archive ) to append the end of the path.

DIRECTORY

Specify saving path and filename of the processed files. For example:

ipc  " /home/tom/photo/*.*"   "/home/tom/converted/*.png"

Filename is optional. it can be 'newname###'(renaming template) or '*.ext' ( file type ). If you don't specify filename, the program will use the original filename and converted image format as new filename.

NOTICE

Any time your path includes a blank space (or blank spaces) or contain the wildcard characters you need to enclose the entire path in double quote marks you need to enclose the entire path in double quote marks. For example:

ipc   "/home/new photo/11*.jpg"   /home/tom/converted/

 

A sample of configuration file

;;;;;;;;;;;;;;;;
; WARNING ;
;;;;;;;;;;;;;;;;
; This is the default settings file for new IPC installations. This file
; controls many aspects of image processing. You can copy it to another
; filename (e.g., website.ini) first and reset value of property.

; Any time your path includes a blank space (or blank spaces) you need to
; enclose the entire path in double quote marks.
; For example: "/home/new photo/11*.jpg"

; If you specify any option on command-line, the values will be replaced.

;;;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;;;
; The syntax of the file is extremely simple. White space and Lines
; beginning with a semicolon are silently ignored. But you do NOT ignore
; any section headers (e.g. [General]).

; Property are specified using the following syntax:
; property = value
; Property names and value are NOT case sensitive. (e.g., foo=bar is same
; from FOO=BAR. The value can only be a string or a number.

; Boolean flags can be turned on using the value 1 and can be turned off
; using the value 0.

; An empty string can be denoted by simply not writing anything after the
; equal sign.

[General]

; IncludeSubdir: Whether or not to include all of subdirectories files
; when scanning source files.
IncludeSubdir = 0

; SaveFormat: Specify file saving format on output. If DIRECTORY of
; command-line argument contain file extension, It is ignored.
SaveFormat = jpg

; SaveQuality: Specify JPEG or JNG lossy compression quality. It is number
; in range 1..100. High values produce better image quality but require
; more disk space.
SaveQuality = 80

; SaveCompress: Specify ZLib compression level used when saving PNG images.
; It accepts values from 0 (no compression) to 9 (best compression).
SaveCompress = 5

; SaveColors: Converts image to the given image format. Values can be:
; INDEX8, GRAY8, GRAY16, GRAY32, ARGB16, RGB24, ARGB32
SaveColors = ARGB32

; OverwriteFile: Whether or not to overwrite the original file with
; processed file when file already exists.
OverwriteFile = 1

; ChangeCase: Change filename to UPPERCASE, lowercase or no change. Values
; can be: NO, UPPER, LOWER.
ChangeCase = LOWER

[Resize]

; With this setting turned on, IPC resizes the image to specified NewWidth
; and NewHeight values with resampling the image.
Enable = 1

NewWidth = 600
NewHeight = 480

; Filter is the used method for the resize. Values can be:
; NEAREST, BILINEAR, BICUBIC
Filter = Bicubic

; Specify resizing type. Values can be:
; 1 -Use NewWidth and NewHeight, DONOT keep the original aspect ratio
; 2 -Use NewHeight and keep the original aspect ratio
; 3 -Use NewWidth and keep the original aspect ratio
; 4 -Use NewWidth, NewHeight and keep the original aspect ratio
Mode = 4

; This option will ensure that your images to do not increase in size.
; For example, if you have an image that is originally 150x120, and you
; choose a custom size of 300x240, the 150x120 image won't change.
OnlySmaller = 1

; With this setting turned on, Fill a color in the blank space when the
; processed image smaller NewWidth or NewHeight.
FillColor = 0

; BackgroudColor is a RGB24 value. MUST begin with '$'.
BackgroudColor = $FFFFFF

; With this setting turned on, automatically swap Width and Height
; values on portrait mode of photos.
SwapWidthHeight = 1

[Cut]

; With this setting turned on, IPC resizes the images to specified
; NewWidth and NewHeight values WITHOUT resampling the image.
Enable = 0

NewWidth = 300
NewHeight = 240

; With this setting turned on, IPC cut the images from specified starting
; top and starting left.
Custom = 0

StartingTop = 0
StartingLeft = 0

; Specifies how to horizontally align the old images. Values can be:
; 1 Left, 2 Center, 3 Right
HorizontalAlign = 2

; Specifies how to vertically align the old image. Values can be:
; 1 Top, 2 Center, 3 Bottom
VerticalAlign = 2

[Watermark]

; With this setting turned on, IPC watermark the images with a small logo.
Enable = 1

; Specify the filename of logo image.
; IPC draws logo image onto images with typical alpha blending. If you want
; to produce a good result, we recommend you to use logo with Alpha channel.
; PNG, BMP and PSD file format actually support alpha channel.
; If value doesn't contain path, please copy it into 'conf' folder.
Image = sample.png

; Here you specify where you want the watermark to appear. Values can be:
; 0 random position everywhere
; 1 Top-Left 2 Top-Center 3 Top-Right
; 4 Middle-Left 5 Middle-Center 6 Middle-Right
; 7 Bottom-Left 8 Bottom-Center 9 Bottom-Right
Position = 5

; Rotates image by Angle degrees
Rotate = 0

; Specify image logo's ransparency. It accepts values from 0 (completely
; hiding) to 100 (completely showing).
Transparency = 40

[Outline]

; With this setting turned on, IPC draws a rectangle outline of image by
; specified width and color values.
Enable = 0

TopWidth = 2
RightWidth = 2
BottomWidth = 10
LeftWidth = 2

; This color is a RGB24 value. MUST begin with '$'.
Color = $000000

[Rename]

; With this setting turned on, IPC rename the processed images using specified
; template.
Enable = 0

; An easy way to simplify renaming with template. Tags of template can be:
; Use '#' to specify positions used by numeric enumerator.
; {FN} -the original filename
; {EX} -the original filename extension
; {DTYYMMDD}, {DTYYYYMMDD}, {DTHHMM} or {DTHHMMSS} -the current date or time
; For example: resized{FN}{DTYYMMDD}. The new name will be resizedphoto100120.
Template = resized{FN}

; The serial number start with a number.
StartNO = 1

 

Free download a trial version

Windows (32-bit, ipc.i386-win32.zip)
Windows (64-bit, ipc.x86_64-win64.zip)
Generic Linux (32-bit, ipc.i386-linux.tar.gz)
Generic Linux (64-bit, ipc.x86_64-linux.tar.gz)
Mac OS X (32-bit, ipc.i386-darwin.tar.gz)