Typing <Cntrl>p now will export the current drawing into an XPM file.
If the X defaults are setup properly for imagemap generation, desired tgif-im-demo.gif and tgif-im-demo.map should be generated.