Save the Terragen file in bmp and then import it into MED. That´s the way.