Picture Resize Command Line 1.3.2
- File Size: 1.49 MB
- Requirements: Windows 2000, XP, 2003 Server, Vista or Win7
- Limitations: Allows you to process 20 pictures at a time
- Create settings file in Settings Editor
- launch the program
- launch the program from BATCH-file
- launch the program from PERL script under Windows server
- launch the program from ASP
Picture Resize Command Line is a comprehensive and powerful image processing utility which allows the batch-processing of large numbers of graphics files at the same time. Its reliability and stability also make it the perfect graphics kernel for integration into your own software applications or for Web-server integration.
Do you often find yourself overwhelmed with email images, electronic faxes and document scans? Just use Picture Resize Command Line to settle on a single uniform image size and file format, and discover that you can more easily:
In fact, by simply writing a command console "batch file", you could set up a complex operation one time and then call the batch file every time you need to repeat the operation on a new batch of images.
Picture Resize Command Line can be easily launched from any Visual C++, Visual Basic or Delphi application, or even from any ASP script.
Create settings file of Picture Resize Command Line with Settings Editor very easily. It has a simple GUI for user.
Resize pictures: Select Resize tab in the toolbar.
Then set a new Width and Height and choose on of the following option:
- "Use both height and width": both Height and Width will be used to resize an picture (without keeping aspect)
- "Use height (keep aspect)": Height will be used to calculate new Width (keeping aspect)
- "Use width (keep aspect)": Width will be used to calculate new Height (keeping aspect)
- "Use both height and width (keep aspect)": both Height and Width will be used to resize an picture (with keeping aspect)
Watermark pictures: Select Watermark tab in the toolbar.
You can use Picture Resize Command Line as an authoring tool by adding watermarks to your pictures. Watermark is a text or image that can be placed in the pictures. This can be information, containing copyright information, your website address or any other.
Also, you can change font settings, angle, position and opacity.
Output settings : Select Output tab in the toolbar.
Then set save format and optimize value, and save folder etc. To specify an output file type - select an appropriate extension in the Save in format DropList.
You also can set 'Don't change the file creation date-time' and 'Remove Exif information from pictures'.
The command line parameters are very short and simple. There are:
Usage: prcl -s settingsfile -i sourcepath -o outputpath
-s Set a settings file for processing. E.g. -s demo.set. We can use Settings Editor to create it easily!'
-i Set pictures source folder and file format. E.g. -i D:\pics\11*.jpg or -i D:\pics\12???.*.
-o Save processed files to a specific output folder. E.g. -o D:\converted.
Below you can see example of launching Picture Resize Command Line.
1. Install the program on your computer.
2. Press 'Start" button, then select 'Run...' and press it.
3. Enter command line, like:
Please note: e:\prcl\prcl is a default installation directory name. If you didn't install the program on that, please change it.
Please note: now the program supports filename mask (filter). So you can type a filename mask such as: '1*.jpg' or '111???.jp*' etc.
4. Press 'OK' button.
5. A DOS mode window will open and the processing will start.
6. Processed files will be stored in 'E:\out' folder.
If you do processing often you may found it more convenient to make a processing script as a BATCH-file.
Launching the program from BATCH file may be very useful when you need to make similar processing with variable parameters. Below we offer you two variants of using BATCH file:
- Launch Notepad.
- Copy the following into text file:
e:\prcl\prcl -s demo.set -i e:\pics\*.* -o e:\out
- Save text file with extension .bat.
- Launch processing by double click on this file.
- Launch Notepad.
- Copy the following into text file:
e:\prcl\prcl -s demo.set -i %1 -o %2
- Save text file as 'resizepictures.bat'.
- Press 'Start" button, then select 'Run...' and press it.
- Enter command line:
resizepictures.bat e:\pics\*.* -o e:\out
- Press 'OK' button.
In this example variable %1 will take on value 'e:\pics\*.*' and variable %2 - 'e:\out'.
elow you can see example of launching Picture Resize Command Line from PERL script under Windows server:
print "Content-Type: text/html\n\n";
$ExecString = 'C:\prcl\prcl.exe -s demo.set -i e:\pics\*.* -o e:\out'
You need to install Windows Script 5.6 on your server to launch Picture Resize Command Line from ASP script. You can read more about Microsoft Windows Script and download it from: http://msdn.microsoft.com/scripting/default.asp.
// The path to Picture Resize Command Line with its parameters
var commandLine = "C:\\prcl\\prcl.exe -s demo.set -i e:\\pics\\*.* -o e:\\out";
// Creating a WSH object
var WshShell = Server.CreateObject("WScript.Shell");
// Launching Picture Resize Command Line
var oExec = WshShell.Exec(commandLine);
var Buf = "";
// The program response stream
Buf = oExec.StdOut.Read(1);
if (Buf == "\n")
Buf = "<BR>" + Buf;
// Writing out the program response
WshShell = null;
Example with Visual Basic syntax:
' Defining variables
Dim WshShell, oExec, CommandLine, Buf
' The path to Picture Resize Command Line with its parameters
CommandLine = "C:\\prcl\\prcl.exe -s demo.set -i e:\\pics\\*.* -o e:\\out"
' Creating a WSH object
Set WshShell = Server.CreateObject("WScript.Shell")
' Launching Picture Resize Command Line
Set oExec = WshShell.Exec(CommandLine)
' The program response stream
Do While Not oExec.StdOut.AtEndOfStream
Buf = oExec.StdOut.Read(1)
' If the current symbol is a line feed -> the "<BR>" tag
should be added for HTML line feed
if Buf = Chr(13) then Buf = "<BR>" & Buf
' Writing out the program response
Set WshShell = Nothing
If an error page ("HTTP 500.100 - Internal Server Error - ASP error") will appears and a text "Object doesn't support this property or method" will be in the "Error type" item then Windows Script on your server has a version older than 5.6 and you need to install Windows Script 5.6 from http://msdn.microsoft.com/scripting/default.asp.
Picture Resize Command Line is a try-and-buy program. The unregistered copy allow you to evaluate it and allows you to process 20 pictures at a time.
Registration means two steps:
Step 1. Buy Now
If you decided to buy Picture Resize Command Line, please click Register Now button on the toolbar of Settings Editor. Open the registration dialog box. Then click 'Buy Now' button and follow instructions on Internet pages.
Step 2. Register
Click Register Now button on the toolbar of Settings Editor again. To open registration dialog box. After enter your name, your email address and license key, you can press Enter Key button and complete the registration.
After registered, you can enjoy the exclusive service:
- A free upgrade to all the future releases of the program;
- Free lifetime technical support by E-mail;
- Your name in the "About" dialog;
- Discounts for multiple licenses.