NAME PNMImport AUTHOR Frerk Meyer CONTRIBUTOR Frerk Meyer FUNCTION enhanced Image classes for import of PNM and XBM bitmaps ST-VERSIONS R4.1 PREREQUISITES pbmplus package by Jef Poskanzer or xv by John Bradley for other formats like GIF, TIFF, PCX xstdcmap by MIT X11R4 for storing images in BOSS format CONFLICTS DISTRIBUTION world VERSION 1.1 DATE 5/93 SUMMARY PNMImport adds methods for importing Portable aNyMaps (PNM) as of Jef Poskanzers pbmplus package. With the help of his package or the xv program you can import ANY bitmap you like into your Smalltalk image, store it as Smalltalk source code or in the binary BOSS format. Directly supported formats include PBM, PGM, PPM, XBM. Some of the formats pbmplus supports: GIF, TIFF, JPEG, SUN Raster, XBM, XPM, PCX, etc. Don't ask me about import of GIF, TIFF, PCX and others because they are compressed binary formats and would take to long to decompress in pure Smalltalk code. Public decompression code is available in C for all mentioned formats and PNMImport ist meant to be used only *once* per image. v1.1: bitmaps saved with BOSS stay the same colors with xstdcmap cursor indicates reading, writing and processing of bitmaps