Leadwerks #1 http://blitzmax.com/codearcs/codearcs.php?code=2272A PF_I16 pixel format would be perfect for use with terrain heightmaps.