NAME

encode - Utility Routines to Write Image Formats


SYNOPSIS

status=WriteImage(image_info,image)


FUNCTION DESCRIPTIONS


WriteImage

Function WriteImage writes an image to a file. You can specify a particular image format by prefixing the file with the image type and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps).

The format of the WriteImage routine is:

        status=WriteImage(image_info,image)

A description of each parameter follows:

status:
Function WriteImage return True if the image is written. False is returned is there is a memory shortage or if the image file fails to write.

image_info:
Specifies a pointer to an ImageInfo structure.

image:
A pointer to a Image structure.