CopySafe Web Return to index  

10.0 Command-line use


The image converter software encrypts images for display on web pages for use in both ActiveX and Java security viewers.

The image converter is a Pure java application and will run on ALL Windows computers. The output web pages can be viewed in all web browsers across all platforms.

The image converter can be used from the Desktop as a normal desktop application, in silent mode using a command line interface, or via web pages using the DLL interface.

REQUIREMENTS

The computer running the converter requires Java 1.5 or later.

INSTALLATION

Copy the "ArtistScope" folder to your computer. If using a server environment it is recommended to install at C:\ArtistScope.

The command line converter (CMD) uses ProDefaults.dat for default settings such as the watermark image to use, etc, if those options are required.

FIRST RUN

Before running CMD in command line mode you need to set the ProDefaults.dat file for your default settings.

1. Run the Windows GIU by double clicking on the JAR file
2. Add an image
3. Highlight the image and click the Configure button
4. Run through the wizard for Targeted Link
5. Set Watermark for Mac and Linux only
6. Set watermark image (watermark.gif in the same folder as the JAR file)
7. Click Finish
8. With the image still highlighted click on the Protect button
9. Select the output folder and click Open
10. The converter will save all new files to that location
11. Close the converter GUI and select YES to "Save new settings"

The ProDefaults.dat now contains your default settings.

COMMAND LINE USE

The Encrypted Image Server DLL is designed for high end users, those encrypting images in volume for deployment on the fly. The image converter will encrypt single images or batches of images nominated by folder. The recommended parameters to use are:

- Targeted Link as nominated display style
- Watermark image to use
- Background and text colors
- Border size if required

The parameters to use in the command line:

-i <input folder> or -f <input file>
-o <output folder>
-s <settings file> (optional)
-v <viewer folder>

If no settings file is nominated the converter will use it's inbuilt defaults. The viewer folder must be present to provide some of the resources that are delivered in the final output. For example:

For batch conversion by folder using ProDefaults.dat settings:

java -jar ArtistScope.jar -i c:\ArtistScope\Web\in -o c:\ArtistScope\Web\out -v c:\ArtistScope\Web\Viewer -s c:\ArtistScope\Web\ProDefaults.dat

For single file conversion using ProDefaults.dat settings:

java -jar ArtistScope.jar -f c:\ArtistScope\Web\in\myimage.jpg -o c:\ArtistScopeWeb\\out -v c:\ArtistScope\Web\viewer -s c:\ArtistScope\Web\ProDefaults.dat

SERVER SIDE RUN FROM WEB PAGE

- Encrypted Image Server DLL
- Web page interface

Resource

NOTE: The Encrypted Image Server DLL for interfacing the image converter is not included in the normal software package but it is available for free. However it is provided as is and without warranty.

Copyright © 1998-2017 ArtistScope. All Rights Reserved.