You can use photoshop to record actions. And make a map generator that way. Have a friend who created something to that effect using photoshop and map colors used in a map creator. It basically created random shapes and preserved tile transitions along the edge of the map. Because, in map creation you can't have 1x1 pixels. As the tile transition formulas couldn't transition. Also it would mess up coast lines ect... If you didn't have proper transitions. I know this probably doesn't help very much. And is vague. But, I have seen it done. He put a lot of work into automatic map generation. Believe, he plans on releasing it all one day.