TM2 to XPM Converter

Transform TM2 images into lossless XPM online

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

Browser-Based Tool

No downloads or plugins needed — convert TM2 to XPM directly in your web browser on any operating system or device.

Multi-File Processing

Queue several TM2 files at once and convert them all to XPM simultaneously. Batch mode streamlines repetitive conversion work.

Effortless Process

The TM2 to XPM converter guides you through a clear upload-convert-download workflow — no technical expertise required.

How to convert TM2 to XPM

1

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

2

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

3

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

About formats

TM2 (TIM2) is a raster image format developed by Sony Computer Entertainment for the PlayStation 2 console, released in Japan on March 4, 2000, as the successor to the original PlayStation's TIM format. TM2 extends the TIM specification to accommodate the PS2's more capable Graphics Synthesizer (GS) GPU, supporting 4-bit indexed (16 colors), 8-bit indexed (256 colors), 16-bit direct color, 24-bit true color, and 32-bit true color with full 8-bit alpha transparency — a significant upgrade over TIM's single-bit semi-transparency flag. The TM2 container includes a file header with a picture count (supporting multiple images in a single file), individual picture headers specifying dimensions, color depth, mipmap count, and CLUT format, the CLUT data, and the image data arranged to match the GS's swizzled memory layout for optimal rendering performance. TM2 files support mipmaps (progressively smaller versions of a texture for distance-based level-of-detail rendering), a feature absent from the original TIM format, reflecting the PS2's ability to handle more sophisticated texture filtering. One advantage is the format's importance in game preservation: thousands of PS2 titles — the best-selling console generation in history — store their texture assets as TM2 files, making the format essential for game modding, texture extraction, HD remaster projects, and academic study of game art history. TM2 files are handled by specialized tools like Rainbow, noesis, and ImageMagick, as well as PlayStation 2 emulator debugging utilities.
Initial release: March 4, 2000
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

Frequently Asked Questions

Why convert TM2 to XPM?

PlayStation 2 TIM2 images need specialized tools to view. A XPM conversion makes those game textures accessible in any modern application.

What programs can open XPM?

GIMP, Inkscape, X Window applications, and text editors open XPM pixmap files. Like XBM, XPM is stored as readable C source code.

Will I lose image quality converting TM2 to XPM?

XPM preserves image data without lossy compression, so the visual content from your TM2 is retained faithfully during conversion.

How long does TM2 to XPM conversion take?

Most TM2 images convert to XPM within seconds. The exact time depends on the resolution and complexity of the source, but it is typically quick.

Can I queue several TM2 files for conversion?

Absolutely. Add several TM2 images at once, set XPM as the output, and the converter processes them all in parallel for maximum efficiency.