Online documentation:

Using ReaConverter

Command line utility :: Overview


Command line batch image conversion tool is an advanced feature meant for professional use, and, therefore, is available in ReaConverter Pro only.

Below is the description on how to convert image files from the command line using ReaConverter command line tool, namely cons_rcp.exe.

Cons_rcp.exe allows you to run image editing and conversion directly from the command line, command (batch) files, or through third party applications.

The tool deals with configuration (.cfg) and action (.act) files. A configuration file contains information on the output format and its settings, destination folder, additional settings, file options, file name modifications, conversion options (transparency color, loading settings, etc.), and, optionally, information on the file list. An action file takes care of the actions you need to apply to your images.

Both configuration and action files can be saved in ReaConverter as well as in any text editor. However, we recommend saving them directly in ReaConverter as it minimizes the risk of mistakes.

Format of using ReaConverter command line tool:

Cons_rcp.exe accepts the following command line parameters:

cons_rcp.exe config.cfg [actions.act] [/hide]

cons_rcp.exe config.cfg is a required parameter, where:

- cons_rcp.exe is a full path to the tool. Unless specified otherwise during installation of ReaConverter, cons_rcp.exe is located in ReaConverter folder on your system disk, for example: "C:\Program Files\ReaConverter 5.0 Pro"

- config.cfg is a full path to a saved configuration file.

actions.act is an optional parameter, where actions.act is a full path to a saved action file.

/hide is another optional parameter that should be used if you need to run con_rcp.exe silently.

Note that if the file paths to cons_rcp.exe, .cfg or .act files contain blank spaces, you need to type them in double quotes, as shown in the above example.

Just an example of the config.cfg file:

[Main]
Source_folder=C:\WINXP
Source_ext=
Dest_path=C:\Result
Same_as_source=0
Dest_ext=BMP
Use_file_list=C:\rcp1944138751.lst
Show_transp=1
Transp_red=255
Transp_green=0
Transp_blue=128

[GIF]
Transparent=0
Auto_transp=0
Color_red=255
Color_green=255
Color_blue=255
Interlaced=0

[JPG]
Use_quality=1
Quality=75
Size=50
Progressive=0
Color_space=0

[TIF]
Compresion=5

[PNG]
Transparent=0
Auto_transp=1
Color_red=255
Color_green=255
Color_blue=255
Interlaced=0
Compression=7

[BMP]
Compression=0

[PCX]
Compression=0

[TGA]
Compression=0

[JP2]
Quality=75

[File_name]
Mask=
Mask_prefix=
Mask_suffix=
Start_number=0
Replace=0
Substring_1=
Substring_2=
Lower_case_ext=1
Case_option=1
Change_case=0

[Multipage]
Option=3

[Colors]
Option=1
Bits_per_sample=8
Samples_per_pixel=3

[DPI]
Option=2
X_dpi=72
Y_dpi=72

[Save]
Copy_alpha=0
Copy_iptc=1
Copy_exif=1
Overwrite=1
Same_date=0
Save_path=0
Save_path_option=1
Delete_files=0

An example of the action.act file:

Canvas_size(100;100;5;255;255;255)
Rotate(0;255;255;255;-1)
Mirror(2)
Crop(10;10;10;10)
Resize(100;100;1;1;2)
Change_to_256(1)
RGB(0;0;0)
HLS(0;0;0)
HSV(0;0;0)
BC(0;0)
Blur(2.50)
Sharpen(20)
Add_border(10;160;160;164;1)
Add_shadow(20;10;160;160;164;255;255;255)
Color_replace(255;255;255;255;255;255;10)


See also:

Format of file with actions

Format of configuration file





Table of contents:


Introduction
Overview of features
Supported image formats
Editing actions
Saving parameters

User interface
Summary
Step 1 - Select files
Step 2 - Apply actions
Step 3 - Save result

Using ReaConverter
Getting started
Converting images
Editing images
      - Test image
      - Action set
      - Action settings
Saving images
Command line utility
      - Overview
      - Format of file with actions
      - Format of configuration file
Scheduler
      - Overview
      - How to use?

How to...
Add files to work on
Convert images
Edit images
Save files
Save files to the fixed size
Change action set
Use saved action set
Change color resolution
Save program configuration
Make a border
Crop images
Resize images
Make watermark
Make transparent GIF/PNG
Work with test image
Convert PDF, EPS, PS
Work on multipage PDF/TIF/GIF

Tips and Tricks
Adding files with different extension
Adding files from different folders
Saving file list
Add all files from the disc
Viewing images before adding
Saving all program parameters
Testing image editing actions



Copyright © 1999—2013 ReaSoft Development. All rights reserved. |  EN, RU |  Privacy Policy.

The written and graphical content of this site is fully protected by U.S. and international copyright law.




Find ReaConverter useful? Like it on Google+ or Facebook: