load map from image file