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.
Type:
        which convert
It should respond with something like:
        /usr/local/bin/convert
If not, then have your sys-admin install it. See links above.