Added minc_convert_format function