ImageConv is a program used to convert images from various formats to the XPM-format, that can be compiled into FreeCAD.
ImageConv is located in the source tree of FreeCAD:
/trunk/src/Tools/ImageTools/ImageConv
Building is easy with the Makefile or the VisualStudio-Project.
ImageConv is a command line tool.