encode - Utility Routines to Write Image Formats
status=WriteImage(image_info,image)
Method 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:
Method 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.
Specifies a pointer to an ImageInfo structure.
A pointer to a Image structure.