Check the input image file name, and if indicated, convert to HIPS format. Otherwise: link outfile to infile