PETRONODE

2. Command Line (CL) Operation.

The command line for SlideComposer.exe operates as following:

If the SlideComposer is called without parameters, it restores the last status (if the definition file is still available).

SlideComposer.exe

If the SlideComposer is called with one, two or three parameters, it presumes that the first parameter is a name of the definition file, and two following parameters are the names of the input and output directories correspondingly. The Slide composer starts in interactive mode.

SlideComposer.exe Definition.def Inpit_Directory Output_Directory

    Definition.def - name of the definition file. Use quotation marks if necessary.

    Inpit_Directory (optional) - name of the input (source) directory. Use quotation marks if necessary.

    Output_Directory (optional) - name of the output (destination) directory. Use quotation marks if necessary.

If the SlideComposer is called with three parameters and a key, it presumes the parameters as above. The Slide composer starts in silent (background) mode and continues until the processing is completed.

SlideComposer.exe Definition.def Inpit_Directory Output_Directory /key

    Definition.def - name of the definition file. Use quotation marks if necessary.

    Inpit_Directory (optional) - name of the input (source) directory. Use quotation marks if necessary.

    Output_Directory (optional) - name of the output (destination) directory. Use quotation marks if necessary.

    /key is one of the following:

        /s - process single directory

        /m - process all first-level subdirectories of the source directory

The example of the command-line invocation is available here.

Considerations for extra-large file generation.

If one of the file's dimensions exceeds 64000 pixels, the generation of png, jpeg, and other such formats with compression is not possible. This is due to the limitations of the corresponding formats in Windows (you would not be able to read such files in a viewer anyway). Two types of files can be generated: TIFF and page-by-page PDF. The graphics generation is performed on disk, in a dedicated _SWAP.TIFF file rather than on-memory, in order to eliminate the system swap invocation. The _SWAP.TIFF file is placed in the destination directory and deleted upon the operation's completion. The same directory will also contain temporary JPEG files for the PDF creation (if ordered).

#

# Example 6.

# Demonstrates extra-large tiff and pdf generation

#

slide (Example_06, 200, 65000, tiff+pdf)

    bColor = FFAA00AA

shape (10, 10, 180, 50, rectangle)

    lSize = 2

    fColor = FF00FF00

    bColor = FF000000

shapeover (20, 70, 160, 50, cross)

    lSize = 4

    fColor = FF00FF00

recolor ( 0, 0, 100, 300, 0000FF, 00FF00, 2)