Image formats other than XPM rely on an image format converter, such as convert which is freely available from ImageMagick for most platforms.

Check that you have convert installed on your system.
        which convert
It should respond with something like:
If not, then have your sys-admin install it. See links above.