Image File Types and Associated Attributes |
The file types that are supported by the IMGOP function and by the Image Data Model class are described in Supported Image File Types. The file type of the image determines which attributes can be used when reading or writing the image. The attributes that you can specify for each file type are described in the following topics:
File Type | Description |
---|---|
BMP (Microsoft Windows Device Independent Bitmap) | Supports color-mapped and true color images that are stored as uncompressed or run-length encoded data. BMP was developed by Microsoft Corporation. |
CAT (SAS Catalog IMAGE entry) | Supports color-mapped images as well as true color images. The images can be optionally compressed. |
DIB (Microsoft Windows Device Independent Bitmap) | See the description of BMP. |
EMF (Microsoft Enhanced Metafile) | Supported under Windows 95, Windows 98, Windows 2000, and Windows NT. |
EPSI (Encapsulated PostScript Interchange) |
An extended version of the standard PostScript (PS)
format. Files that use this format can be printed on PostScript printers and
can also be imported into other applications. Notice that EPSI files can
be read, but PS files cannot be.
When read with the Image Editor, the SAS/AF Image DataModel, or IMGOP, EPSI files are displayed using a low-resolution, monochrome preview of the actual image. |
GIF (Graphics Interchange Format) | Supports only color-mapped images. GIF is owned by CompuServe, Inc. (available if licensed). |
JFIF (JPEG File Interchange Format) | Supports JPEG image compression. JFIF software is developed by the Joint Photographic Experts Group. |
PBM (Portable Bitmap Utilities) | Supports gray, color, RGB, and bitmap files. The Portable Bitmap Utilities are a set of free utility programs that were developed primarily by Jef Poskanzer. |
PCD (Photo CD reader) | Photo CD is owned by and licensed from Eastman Kodak Company. |
PCL (Printer Control Language) | Developed by HP. |
PCX (PC Paintbrush) | Supports bitmapped, color-mapped, and true color images. PCX and PC Paintbrush are owned by Zsoft Corporation. |
PNG (Portable Networks Graphics) | The PNG Reader and Writer use `libpng' in their implementations. Permission to use is freely granted. Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. |
PS (PostScript Image File Format) | The Image classes use only PostScript image operators. A level II PS printer is required for color images. PostScript was developed by Adobe Systems, Inc. |
TGA (Targa) | Supports both true color images and color-mapped images; however, the current release of the Image classes supports only true color TGA files. Targa is owned by Truevision, Inc. |
TIFF (Tagged Image File Format) | Internally supports a number of compression types and image types, including bitmapped, color-mapped, gray-scaled, and true color. TIFF was developed by Aldus Corporation and Microsoft Corporation and is used by a wide variety of applications. (available if licensed) |
WMF (Microsoft Windows Metafile) | Supported only under Microsoft Windows operating systems. |
XBM (X Window Bitmaps) | Supports bitmapped images only. XBM is owned by MIT X Consortium. |
XPM (X Window Pixmap) | Is an extended version of XBM that supports color bitmaps; supported only under UNIX operating systems. |
XWD (X Window Dump) | Supports all X visual types (bitmapped, color-mapped, and true color). XWD is owned by MIT X Consortium. |
Some file types are supported only in certain host operating environments. You must include a FORMAT= attribute when you are reading or writing the image file types that are shown in the following table:
File Type | Reader Attributes | Writer Attributes | Host |
---|---|---|---|
DIB | FORMAT=DIB | FORMAT=DIB | Windows 3.1, Windows 95, Windows 98, Window 2000, and Windows NT |
EMF | FORMAT=EMF | FORMAT=EMF | Windows 95, Windows 98, Windows 2000, and Windows NT |
WMF |
|
FORMAT=WMF | Windows operating systems |
XBM | FORMAT=XBM |
|
interactive windows under UNIX |
XPM | FORMAT=XPM | FORMAT=XPM | X Windows System under UNIX |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.