7.4 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:



read-bitmap-file pathname Function
        
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.


write-bitmap-file pathname image &optional name Function
        
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).