XPM to RGF Converter

Transform XPM graphics into RGF 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

Secure Processing

Uploaded XPM images are erased right after conversion, and the resulting RGF files are purged within 24 hours — your data stays private.

Batch Processing

Upload multiple XPM files at once and convert them all to RGF in a single session — ideal when you have many legacy images to migrate.

Any Device Works

Convert XPM to RGF from Windows, macOS, Linux, or mobile — the browser-based tool adapts to any screen size and operating system.

How to convert XPM to RGF

1

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

2

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

3

Let the file convert and you can download your rgf 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
RGF (Robot Graphics Format) is a simple monochrome bitmap image format used by LEGO Mindstorms EV3 programmable robotics kits, introduced with the EV3 system on September 1, 2013. RGF files store 1-bit (black and white) images designed for display on the EV3 Intelligent Brick's 178x128 pixel monochrome LCD screen. The format uses a minimal structure: a header containing the image width and height as binary values, followed by the pixel data where each bit represents one pixel (1 for black, 0 for white), packed eight per byte in row-major order. RGF images are used as custom display graphics in EV3 programs — students and hobbyists create them for robot status displays, user interfaces, splash screens, and animation frames shown on the brick's screen during program execution. The images are typically designed using LEGO's EV3 software (which includes a built-in image editor) or converted from other formats using community tools. RGF fits within LEGO's broader educational robotics platform, where the Mindstorms system teaches programming, engineering, and computational thinking to students worldwide. One advantage is the format's role in educational technology: RGF provides a simple, concrete example of how digital images are represented as binary data — a concept that students working with Mindstorms can directly observe by examining the file contents and seeing the corresponding image on the brick's screen. The format's simplicity makes it accessible for young programmers learning about file formats and binary data. RGF files can be created and converted using ImageMagick, the EV3 development environment, and community tools like ev3dev.
Developer: The LEGO Group
Initial release: 2013

Frequently Asked Questions

Why would I convert XPM to RGF?

XPM is a color pixmap format for X Window System with limited modern support. Converting to RGF (monochrome format for LEGO Mindstorms displays) makes your images accessible on any modern platform.

Which software can view RGF files?

RGF files can be opened with LEGO Mindstorms software, ImageMagick. Most of these are available across Windows, macOS, and Linux.

Is XPM to RGF conversion free?

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

Does converting XPM to RGF affect quality?

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

What exactly is the XPM format?

The XPM format is a color pixmap format for X Window System, rooted in X11/Linux desktops. Modern software rarely supports it natively, making conversion essential.

How long does XPM to RGF conversion take?

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