Features

Picture Resize Command Line 1.3.2



  • Last Updated: Jan 9th, 2010
  • File Size: 1.49 MB
  • Requirements: Windows 2000, XP, 2003 Server, Vista or Win7
  • Limitations: Allows you to process 20 pictures at a time

DownloadFREE TRIAL FULLY FUNCTIONAL VERSION      Buy Now! BUY NOW!

 

How to Do ...

 

Arr Introduction

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.

[TOP]

 

Arr Create settings file in Settings Editor

Create settings file of Picture Resize Command Line with Settings Editor very easily. It has a simple GUI for user.

Settings Editor

Resize pictures: Select Resize tab in the toolbar.

Then set a new Width and Height and choose on of the following option:

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'.

[TOP]

 

Arr launch the program

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.

Start

3. Enter command line, like:

e:\prcl\prcl -s demo.set -i e:\pics\*.* -o e:\out

Please note: e:\prcl\prcl is a default installation directory name. If you didn't install the program on that, please change it.

Run

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.

Result

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.

[TOP]

 

Arr launch the program from 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:
First variant:
Second variant illustrates how to do the similar processing with different source and destination folders.
Second variant:

In this example variable %1 will take on value 'e:\pics\*.*' and variable %2 - 'e:\out'.

[TOP]

 

Arr launch the program from PERL script under Windows server

elow you can see example of launching Picture Resize Command Line from PERL script under Windows server:

Example:

#!/usr/bin/perl

print "Content-Type: text/html\n\n";
$ExecString = 'C:\prcl\prcl.exe -s demo.set -i e:\pics\*.* -o e:\out'

exec $ExecString;

 

[TOP]

 

Arr launch the program from ASP


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.

If you don't know, what version of the Windows Script is already installed on your server click here. Below you will find examples of launching Picture Resize Command Line from ASP using JavaScript and Visual Basic syntax.

Example with JavaScript syntax:

<%@ LANGUAGE = "JAVASCRIPT" %>
<%

// 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
while (!oExec.StdOut.AtEndOfStream)
{
        Buf = oExec.StdOut.Read(1);
        if (Buf == "\n")
        {
              Buf = "<BR>" + Buf;
        }

        // Writing out the program response
       Response.Write(Buf);
}

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
Response.Write Buf
Loop
Set WshShell = Nothing
%>

 

 
If you don't know, what version of the Windows Script is already installed on your server:
Try to run one of example above, using your correct command line.

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.

[TOP]

 

Arr Registration

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:

 

[TOP]