1) http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.htm...
2) http://www.gdal.org/frmt_various.html#FITS