Switching to the cfitsio library's fits_read_img () function in 03ea666f caused RGB FITS images to be read in upside down per SiriL developers and NASA standards (odd, since cfitsio is maintained by NASA). This flips them back.
03ea666f