VrRotate
|
ON-LINE REFERENCE DOCUMENTATION CARDINAL SYSTEMS, LLC 386-439-2525 |
VR ROTATE (vrrotate.exe) |
Type: Stand-alone Batch Application
Current Release: 1.0
Batch Image Rotation Application.
This is a stand-alone program that uses the same methods as Image Utility to rotate images 90, 180, or 270 degrees. VrRotate can be operated from the command-line without any user interaction by using appropriate input arguments. Type VrRotate –h for a list of command-line options. If started without any arguments, VrRotate will prompt for input parameters.
Using VrRotate
Without any parameters passed, VrRotate will start by displaying the following parameters dialog box.

The output directory to place the rotated images. Leave blank to output to the same directory as the input images.
The prefix to append to the output image filenames. Output file names are initially set to the same as the input file names.
The postfix to append to the output image filenames. Output file names are initially set to the same as the input file names.
The rotation angle to apply to the image(s). The options are 90, 180, or 270 degrees.
The color mode to use on the output images. The options are:
|
Same as original |
Use the same color mode as the input image. |
|
Greyscale |
Convert to greyscale if the input image is color. |
|
Color |
Convert to color if the input image is greyscale. |
If the input image is compressed, then this setting will control the compression quality of the output image. A value from 1-100 may be used, with higher numbers equaling higher quality, but less compression. If 0 is entered, then output images will be written uncompressed. NOTE: It is recommended that rotations be performed on original uncompressed images. Rotations on compressed images involve uncompressing and recompressing the image, resulting in some image quality loss.
The pyramid level to use when creating the output images. This allows images to be downsampled during output to produce smaller output images. There are six levels to choose from.
After selecting Ok in the parameters dialog box, the following dialog is displayed to allow the input images to be selected.

After selecting Ok, the images will be processed and rotated output images will be created.
Command-line options
It is possible to run VrRotate from the command-line for non-interactive processing of images. The current command-line options are as follows (typing vrrotate –h will always display the most recent command-line options).
VRROTATE
[options] [image(s)]
where
options are:
-s Silent mode. Does not prompt for parameters.
-a angle Rotation angle. 90, 180, 270.
-m color_mode Color Mode (0=Same,1=Grey,2=Color,3=YCbCr).
-c comp_rate Compression Rate (0-100, 0=None).
-l level Output pyramid level (1-7).
-d directory Output directory.
-p postfix Postfix to add to each output image name.
-r prefix Prefix to add to each output image name.
[images] Optional list of images to
process.
Will display image
selection dialog if left blank.
Example:
vrrotate
-d c:\rotate\out\ -r rot_ c:\rotate\*.tif
(Rotate
all TIFF images in the c:\rotate directory, using the rotate parameters stored
in myparam.vba. Write the resulting images to the c:\rotate\out directory with
"out_" added to beginning of each filename.)