New version is here
New handy functions;
1-)bmap_to_colormap(BMAP* b_bmap);
The function is create colormap from heightmap.
2-)bmap_to_disp(BMAP* b_bmap)
The function is create displacementmap from heightmap.