X11 Pixmap (XPM) Reader/Writer

FME Format Type Identifier

XPM

Reader/Writer

Both

Typical File Extensions

.xpm

An XPM file consists of a three-dimensional array of bits corresponding to a two-dimensional array of pixels. It is used, for example, in the X Window System to describe a memory region where graphics can be drawn without affecting the screen. Typically this is used for the efficient handling of expose events and icon images, or for animation.

XPM files have a color depth limit of 87 colors – all images converted into XPM will be reduced to 87 colors.

Note  Currently, the XPM reader can read only 8-bit per pixel XPM images, and one-band XPM images.

XPM Product and System Requirements

Format

FME Platform

Operating System

Reader/Writer

FME Form

FME Flow

FME Flow Hosted

Windows 64-bit

Linux

Mac

Reader

Yes

Yes

Yes

Yes

Yes

Yes

Writer

Yes

Yes

Yes

Yes

Yes

Yes

Reader Overview

The FME considers a single XPM file to be a dataset. The XPM file contains pixel data. Each pixel in the file is a point in a single XPM raster feature.

Writer Overview

The XPM writer creates and writes data into a single folder specified by the Writer Dataset. The XPM writer distinguishes duplicate output files by appending numbers to the filenames.

FME Raster Features

FME raster features represent raster data and use several concepts that are unlike those used in the handling of vector data.

For comprehensive information about how FME processes raster data, see Rasters.

XPM files can only be written with square pixel dimensions.

XPM only supports rasters with a single UInt8 band that has a RGB24 palette.