Using Java and a guide to the .w3e file format used by WarCraft III for terrain node data. I am a university level computer scientist so this is not something one can learn to create over night.
Just to give you an insight as to what the images look like, here is a reverse conversion (from map to images) for Goblin Exploration Squad, a map by one of the many talented mappers that reside here.