Fix loading 32 bit FITS

This commit is contained in:
2019-09-19 17:18:02 +02:00
parent dbc722a1e6
commit 9c0c0d41c7
+1 -1
View File
@@ -69,7 +69,7 @@ QImage loadFITS(QString path, ImageInfoData &info)
bits32.resize(size);
fits_read_pix(file, TUINT, fpixel, size, NULL, &bits32[0], NULL, &status);
if(status)break;
for(size_t i=0; i<size; i++)data[i] = bits16[i] >> 24;
for(size_t i=0; i<size; i++)data[i] = bits32[i] >> 24;
break;
}
}