You are here: Available Utilities > L > LOG2JPG

LOG2JPG

Use the LOG2JPG utility to convert a graphic (bitmap) file into a JPEG graphic file. This utility can convert any color, gray, or 2-bit single color images into compressed JPEG files. During the conversion, the utility tells you which files are converted.

Note You can perform this task using the Convert Graphics Files option in Studio’s Conversion wizard.

Program names

Syntax

LOG2JPGW /I /O /R /C

Parameter

Description

/I

The graphic file for input with or without the extension (.log). When converting a large number of graphic files, simply enter /i=*.

/O

The name of the JPEG file you want to create. Enter the name with or without the extension (.jpg). If omitted, the utility uses the graphic’s file name and the JPG extension.

/R

Specifies the orientation or rotation. If omitted or specified incorrectly, no rotation takes place.

1 - 0 degrees (portrait)

2 - 90 degrees

3 - 180 degrees

4 - 270 degrees (landscape)

5 - the rotation specified in the rotation names in the graphic header.

The settings /r=5 and /o=ofile are mutually exclusive. When you specify /r=5, the output file uses the rotation name in the graphic header. If there is no rotation name, the output file takes input file as a default.

/C

Tells the utility to convert a color graphic to a single color. Specify the color using these values:

1-black 9-dark blue

2-blue 10-dark cyan

3-cyan 11-dark green

4-green 12-dark magenta

5-magenta 13-dark red

6-red 14-dark yellow

7-yellow 15-dark gray

8-white 16-light gray