Next: , Previous: , Up: Images   [Contents][Index]


8.3 Image Files

CLX provides functions that allow images to be written to a file in a standard X format. The following paragraphs describe the CLX functions used to:

Function: read-bitmap-file pathname
pathname

An image file pathname.

Reads an image file in standard X format and returns an image object. The returned image can have depth greater than one.

image

Type image.

Function: write-bitmap-file pathname image &optional name
pathname

An image file pathname.

image

An image object.

name

A stringable image name.

Writes the image to an image file in standard X format. The image can have depth greater than one. The name is an image identifier written to the file; the default name is (or (image-name image) ’image).