Original Post
So I have not tested this theory myself, but I would think it would be possible. What I am suggestion is to use a bitmap file to store a 2d map file. This bitmap would contain information such as x and y, which tile to use from a specific tileset, and even height information. You may be asking how would I store that in a bitmap? Well that is simple, use the color values. Each pixel already has a x and y coordinate that part is the simple part. To store in the tile we would use 1 channel such as red. This would allow for 256 tiles. We could expand this to include a second channel such as green that would allow for 65536 possible tiles. To encode the height data we just need to use the third channel in this example blue. Bitmaps also make provisions for a forth channel which could be used for other information such as script ids, or creature ids. Any thoughts or suggestions would be appreciated. I will be posting a rough pseudo code or implementation later.