This article from IBM developerWorks, describes how to "Meld buildings' directories and maps of their interiors to create ad-hoc maps of people, meeting spaces, and other assets", using Perl, ImageMagick and The Gimp. As usual there is a "Rate this page" form at the end of the article.