Heightmaps from image files

does anyone know of any good/simple tutorials for importing heightmaps from image files? or any terrain editors and work well with exporting to opengl?

any help at all would be great!!!