In this paper, based on the brief introduction of the FITS format, the problem of data conversion from the thick CCD spectral file to an IRAF image, in addition to the FITS format, is discussed.
Firstly, a platform of image procession is created, in which some basic functions are provided, such as reading and writing image file, image formatconversion, image data separation and combination.