XBM to PGX Converter

Browser-based XBM to PGX converter for image migration

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

Format Upgrade

Move from X Window System era XBM to the modern PGX format — enjoy JPEG 2000 test image format and broad software compatibility.

Privacy Protected

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

No Install Required

The entire XBM to PGX conversion happens in your browser. No plugins, no desktop apps — just upload, convert, and download.

How to convert XBM to PGX

1

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

2

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

3

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

About formats

XBM (X BitMap) is a monochrome (1-bit) image format defined as part of the X Window System, originating at MIT around 1987. XBM files are unique among image formats in being valid C source code: each file defines the image as a static array of unsigned char values containing the packed pixel data, preceded by #define statements specifying the image width, height, and optional hot-spot coordinates (for cursor images). The pixel data is stored in hexadecimal byte values within curly braces, with each bit representing one pixel (1 = foreground, 0 = background) and bits ordered LSB-first within each byte. This design was intentional — XBM images could be #included directly into X Window application source code and compiled into the binary, eliminating the need for external file loading and runtime format parsing. The format was used throughout the X11 ecosystem for cursor shapes, window icons, toolbar buttons, and other small UI elements. One advantage is the source-code nature of the format: XBM files can be edited with a text editor, diff'd and merged in version control, generated by shell scripts, and compiled directly into C programs without any image loading library — a level of toolchain integration that no binary image format can match. The format's role as part of the X Window standard ensures it is understood by every X11-aware toolkit and application. While limited to monochrome and no compression, XBM's simplicity makes it an excellent teaching format for understanding bitmap representations. XBM files are supported by all X11 applications, ImageMagick, GIMP, web browsers (as a legacy web format), and programming environments.
Developer: MIT X Consortium
Initial release: 1987
PGX is a simple single-component raster image format defined as part of the JPEG 2000 standard (ISO/IEC 15444) for use in conformance testing and verification of JPEG 2000 codec implementations. Introduced around 2000 alongside the JPEG 2000 specification itself, PGX files store a single image component (one color channel or grayscale plane) with a text header followed by raw pixel data, providing an unambiguous reference representation against which encoder and decoder outputs can be compared sample by sample. The header is a single ASCII line specifying endianness (ML for big-endian, LM for little-endian), signedness (+ for unsigned, - for signed), bit depth (1 to 32 bits), width, and height. The pixel data follows as raw binary values, each occupying the minimum number of bytes needed for the specified bit depth, with one value per pixel. For multi-component images (like RGB), each component is stored in a separate PGX file. The format's deliberate simplicity — no compression, no metadata, no multi-channel support — ensures there are no ambiguities in interpretation that could mask codec bugs. One advantage is verification precision: PGX's uncompressed, exactly-specified representation allows bit-exact comparison of decoded JPEG 2000 output against reference images, essential for certifying that a codec implementation conforms to the standard. The format's role in the JPEG 2000 conformance testing framework means it is implemented by every serious JPEG 2000 codec (OpenJPEG, Kakadu, etc.) and used in the official ISO conformance test suite. PGX files can also be processed by ImageMagick and various JPEG 2000 development tools.
Initial release: 2000

Frequently Asked Questions

Why convert XBM to PGX?

XBM is a monochrome bitmap from the X Window System with limited modern support. Converting to PGX (JPEG 2000 test image format) makes your images accessible on any modern platform.

Which software can view PGX files?

PGX files can be opened with ImageMagick, OpenJPEG, GIMP. Most of these are available across Windows, macOS, and Linux.

How long does XBM to PGX conversion take?

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

Is XBM to PGX conversion free?

You can convert XBM to PGX for free on Convertio. Premium plans are available if you need higher throughput or larger file allowances.

Are my uploaded files kept private?

Your privacy is protected. All uploaded files are erased after conversion and output files are purged within 24 hours — nothing is stored long-term.

Does converting XBM to PGX affect quality?

The conversion preserves the visual content of your XBM image. PGX will reproduce the same pixel data within the limits of its format capabilities.