save result in pfm format