VXPORT

VisionX V4
NAME

vxport − change image format from VisionX to an external format

SYNOPSIS

vxport [if=infile] [of=ofile] [-v] [-d] [-m] [-s] [-png] [-pnm] [-tiff] [-tif] [-gif] [-jpeg] [-jpg]

DESCRIPTION

Vxport converts an image file (or a set of image files) in VisionX image format into a specified standard file format. The intended file format may be specified by the extension to the output file name. Since many computer systems and programs treat filenames with an image extension in a special way, vxport adds the file name extension to the selected format if it is not already specified.

If no root name is specified for the output file then the input file name will be the same as the input file name with the added new format extension. In this case, if the input filename has an extension .vx .vs or .vf, that extension will be replaced with the new extension. If no output file name is specified and the input image is from a pipe, then the image file will have the rootname "vxout" with the new format extension.

In general, only byte images may be exported, images in other formats will automatically be converted to byte images by vifx

If a multiple image file is provided as input when neither -m or -s options are specified then -s will be automatically set.

Vxport uses many conversion programs from the netpbm or pbmplus conversion package. This package must already be installed on the system.

This command replaces vxto.

CONSTRAINTS

Currently only single images are supported

OPTIONS

-v

The verbose flag prints the commands that that are issued by vxport prior to execution.

-d

debug option, saves any intermediate files in the local directory

if=<fname>

specifies the input file name.

of=<fname>

This specifies the output file name or filename extension or both.

-m

This option selects the multi image mode. For image formats for which this is possible a set of images is converted into a single file.

-s

This option selects the multifile mode. For image formats for which this is possible, a set of images is converted into a directory containing a number of separate single-image files. The directory will have the name of the outfile root name (without the extension) then the images inside the directory will have the names "img" followed by a three digit number followed by the file extension. For example, for of=bar.png then a directory bar will be created and the name of the first image in that directory will be img001.png.

SPECIFIC FORMATS

The required format specification may be one of the following: The automatically added file extension is the same as the format name.

-png

convert to a PNG file

-tiff, -tif

convert to a TIFF file

-gif

convert to a GIF file

-jpeg,-jpg

convert to a jpeg image

pict

convert to a Macintosh PICT file

-xwd

convert to a X11 or X10 window dump file

-ps

convert to a PostScript file.

AUTHOR

A. P. Reeves

SEE ALSO

vxtompeg(1), vxtopnm(1), vfrmt(1),vxtotiff(1)