XPM to PCT Converter

Transform XPM graphics into PCT images with a few clicks

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Modern Format Output

PCT provides legacy Macintosh image format — a significant upgrade over the legacy XPM format for everyday image use and sharing.

Effortless Process

Converting XPM to PCT takes just a few clicks — no technical knowledge required. Upload, choose your format, and download the result.

Privacy Protected

Your XPM files are deleted immediately after conversion to PCT. Converted files are automatically removed from servers within 24 hours.

How to convert XPM to PCT

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose pct or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your pct file right afterwards

About formats

XPM (X PixMap) is a color image format for the X Window System, developed by Arnaud Le Hors at GROUPE BULL beginning in 1989 as the color successor to the monochrome XBM format. Like XBM, XPM files are valid C source code — each file defines the image as a static array of character strings, where the header strings specify width, height, number of colors, and characters per pixel, the color definition strings map character codes to color values (supporting X11 color names, hexadecimal RGB, and symbolic color types like 'background' and 'foreground'), and the pixel strings encode each row as a sequence of character codes that index the color palette. This ASCII art representation makes XPM images human-readable: one can often see the image content directly in the text of the source file. The format went through three revisions: XPM1 (1989, compatible with X10), XPM2 (simplified syntax), and XPM3 (1991, the current version with the static char* syntax and extended color specification). XPM was the standard format for X Window application icons, splash screens, pixmap buttons, and themed UI elements throughout the 1990s and 2000s. One advantage is the combined benefits of being a valid C source file and a color image: XPM files can be compiled into applications, edited in any text editor, processed by text tools, and version-controlled, while supporting up to 256 colors with transparency (using the 'None' color keyword). The X11 ecosystem's reliance on XPM ensures broad tool support. XPM files are handled by all X11 toolkits, ImageMagick, GIMP, and web browsers (legacy support).
Initial release: 1989
PCT (also known as PICT) is a metafile graphics format originally developed by Apple Computer and introduced alongside the original Macintosh in January 1984. PCT files can contain both vector drawing commands and raster bitmap data, encoded as a sequence of QuickDraw drawing operations — the same graphics primitives used by the Macintosh operating system for all on-screen rendering. The format evolved through two major versions: PICT 1, which recorded basic QuickDraw operations (lines, rectangles, ovals, text, 1-bit bitmaps) in a compact format suitable for the original Macintosh's limited memory, and PICT 2, introduced with Color QuickDraw in 1987, which extended the format to support 24-bit color, multiple color spaces, and embedded JPEG-compressed data. PCT files begin with a 512-byte header (originally used for resource fork information), followed by the picture size, bounding rectangle, and a sequence of opcodes that define the drawing operations. During the Macintosh's commercial ascendancy, PICT was the universal graphics interchange format on Mac OS — the system clipboard used PICT for all graphical copy/paste operations, and most Mac applications could import and export the format. One advantage is the hybrid vector/raster nature: PCT files from the QuickDraw era preserve both scalable drawing commands and pixel data in a single format, enabling resolution-independent output for the vector portions. PICT's historical significance as the native Mac graphics format throughout the classic Mac OS era (1984-2001) provides another dimension. PCT files remain readable by Preview on macOS, ImageMagick, XnView, LibreOffice, and GIMP.
Developer: Apple Computer
Initial release: 1984

Frequently Asked Questions

Why would I convert XPM to PCT?

XPM is a color pixmap format for X Window System with limited modern support. Converting to PCT (legacy Macintosh image format) makes your images accessible on any modern platform.

Which software can view PCT files?

PCT files can be opened with macOS Preview (older versions), XnView, IrfanView, GIMP. Most of these are available across Windows, macOS, and Linux.

Can I convert multiple XPM files to PCT at once?

Yes — upload several XPM files in one session and Convertio processes them all into PCT simultaneously, saving you time.

Does converting XPM to PCT affect quality?

Quality is maintained to the extent PCT supports. Since XPM is a color pixmap format for X Window System, the visual data transfers cleanly to PCT.

Is XPM to PCT conversion free?

Yes — Convertio offers free XPM to PCT conversion. Premium options exist for users who need more capacity or faster processing speeds.

How long does XPM to PCT conversion take?

Most XPM to PCT conversions complete within a few seconds. The lightweight nature of XPM images means fast processing times.