RGF to XPM Converter

Quick RGF to XPM conversion — free online tool

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

Quality Preserved

The converter extracts full image data from RGF and encodes it into XPM at maximum fidelity. No unnecessary quality degradation.

Works in Your Browser

The entire RGF to XPM conversion happens in a web browser. No desktop software to install — just upload, convert, and download.

Many Output Options

The converter supports far more than just XPM. Convert your RGF files to dozens of image, document, and vector formats in one place.

How to convert RGF 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

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
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 RGF to XPM?

Converting from RGF to XPM bridges the gap between specialized educational robotics formats and standard image workflows.

What programs open XPM files?

Open XPM files with any image editor or viewer — Photoshop, GIMP, Paint.NET, IrfanView, or the built-in viewer on your operating system.

Why is RGF not widely supported?

RGF was designed exclusively for LEGO Mindstorms brick displays — a very niche educational robotics platform with its own proprietary graphics format.

Which platforms are supported?

Every platform with a modern browser works — Windows, macOS, Linux, ChromeOS, iOS, and Android all run the RGF to XPM converter perfectly.

Can I convert multiple RGF files at once?

Yes — upload several RGF files in a single session and convert them all to XPM simultaneously. Batch processing saves considerable time.