LispWorks CAPI User Guide > 12 Graphics Ports > 12.8 Working with images

NextPrevUpTopContentsIndex

12.8.1 Supported image types

Graphics Ports supports Bitmaps and compressed bitmaps (BMP and DIB files). It uses Operating System-specific libraries to support a range of other image types as follows:

Image library and supported image types

OS

Library

Supported Image Types

Microsoft Windows

gdiplus.dll

GIF, JPEG, PNG, TIFF, EMF

Mac OS X

Cocoa

GIF, JPEG, TIFF, PICT and many others.

Also EPS, PDF

GTK+

gdk-pixbuf

GIF, JPEG, PNG, TIFF and many others.

X/Motif

imlib

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

Functions which load images from a file attempt to identify the image type from the file type. Files of type bmp and dib are loaded by LispWorks code, files of other types are loaded by the Operating System-specific library.

Note: On 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 LispWorks additionally supports Windows Icon files - see load-icon-image in the LispWorks CAPI Reference Manual .

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


LispWorks CAPI User Guide (Macintosh version) - 22 Dec 2009

NextPrevUpTopContentsIndex