Previous Page | Next Page

Commands Used with the IMGCTRL, IMGOP and PICFILL Functions

WRITE



Writes an image to a file or to a SAS catalog
Syntax
Details
Examples

Syntax

rc=IMGOP(task-id, 'WRITE', image-path<, attributes>);

image-path

contains either the pathname of the external file that contains the image or the path string that is returned by the LNAMEMK function.

Type: Character

attributes

lists attributes that are specific to the file type. See Attributes for Writing Image Files.

Type: Character


Details

WRITE writes the currently selected image to an external file. The file can be specified either directly (using its physical filename path) or by using the information that was returned by a previous LNAMEMK function call. The LNAMEMK function creates a character variable that contains information about the location of the image (even if it is to reside in a SAS catalog), as well as information about other image attributes.

The FORMAT= attribute (described in Attributes for Writing Image Files) must be specified if image-path does not include that information.


Examples

Previous Page | Next Page | Top of Page