™ Registered trademark.


Gunamoi Software

   Image2XPM - a free image to XPM converter.



When developing software in C++, especially for Linux, it is sometimes desirable to be able to save an image, such as an icon or bitmap, in XPM format to enable the compiler to incorporate the image within a program's executable file.  But while many standard image converters will load or view XPM files, there are not many tools available to create an XPM file. 

Image2XPM provides a free simple to use windows GUI tool to convert multiple input image files to XPM format. 

System Requirements:

Windows XP or later.

This is free software and is provided free of charge, 'as is' with no warranty.  No registration required.  There is no installer for this program, just unzip the executable and run it as described below. 

Download the program here.

  DOWNLOAD Image2XPM (v1.5) (Windows 32 bit) (1.75MB) 

  SHA1 checksum: 673bf0ec48354b5ee78a8350a9e1a3b362951fb4

Installation steps:

1. Download Image2XPM from this page (see button above).

3. Unzip the Image2XPM executable into a location of your choice.

Using Image2XPM:

1. Start the Image2XPM executable.

2. Browse and select the input files.  Multiple files from the one folder may be selected. 

3. Browse and select a folder for the output files.  You can make a new folder if desired. 

4. Click 'Execute', and Image2XPM will produce the desired XPM files in the selected output folder. 

Sample Image2XPM Screenshot

Sample Screenshot

Please note that the exact look and feel of the program will vary on each computer depending upon the individual user's operating system and theme settings. 

Version History

Version 1.0 released July 2016.

Version 1.1 released September 2016:

  • Add minimise button.
  • Add busy cursor.
  • Check if output file already exists & ask to overwrite.

Version 1.2 released February 2018: minor improvements to error reporting and program flow.

Version 1.3 released March 2019: minor improvements to error reporting and program flow.

Version 1.4 released February 2020:

  • Show the number of input files currently selected.
  • Show a progress dialog while processing.
  • Add "YES TO ALL" option when overwriting.

Version 1.5 released March 2021:

  • Add checkbox to Keep input file 'Last modified' date and time.
  • Add button to force output folder same as input folder.
  • Add "Keep All" option to save numbered output files instead of overwriting any existing files of same name.
  • Improved treatment of images with transparency.

This is absolutely free software, provided ad-free and without obligations.
However, should you find it useful, and wish to show your appreciation, you may buy me a coffee via PayPal using the button below: