All Manuals > CAPI User Guide > 13 Graphics Ports > 13.9 Working with images

NextPrevUpTopContentsIndex

13.9.1 Image formats supported for reading from disk and drawing

This table lists the formats supported at the time of writing:

Operating system and supported image types

OS

Supported Image Types

Microsoft Windows

BMP, DIB, GIF, JPEG, PNG, TIFF, EMF, ICO

Mac OS X

BMP, DIB, GIF, JPEG, TIFF, PICT and many others.

Also EPS, PDF

GTK+

BMP, DIB, GIF, JPEG, PNG, TIFF and many others.

X/Motif

BMP, DIB, GIF, JPEG, PNG, TIFF, XPM, PGM, PPM

Functions which load images from a file attempt to identify the image type from the file type.

Call the function list-known-image-formats to list the formats that the current platform supports for reading and drawing.

Note: On X/Motif LispWorks uses the freeware imlib library which seems to be in all Linux distributions. However it is not in some UNIX systems, so you may need to install it.

Note: On Microsoft Windows ICO images are supported for certain situations such as capi:button and draw-image - see the LispWorks CAPI Reference Manual for details.

Note: On Microsoft Windows LispWorks additionally supports Windows Icon files with scaling - see load-icon-image in the LispWorks CAPI Reference Manual .

Note: On Microsoft Windows, only bitmaps with maximum 24 bits per pixel are supported.

Note: LispWorks 4.3 and previous versions supported only Bitmap images.


CAPI User Guide (Windows version) - 30 Aug 2011

NextPrevUpTopContentsIndex