| NAME | DESCRIPTION | VALUE |
| BPP16 | 16 bits-per-pixel image data | 16 |
| BPP32 | 32 bits-per-pixel image data | 32 |
// This code demonstrates how to create a 16-bit
// FITS file.
#include <iostream.h>
#include "CFitsFile.h"
using namespace std;
using namespace arc;
int main()
{
try {
CFitsFile cFits( "Image.fit", 512, 600 );
//
// Could also do this ...
//
CFitsFile cFits2( "Image.fit", 512, 600, CFitsFile::BPP16 );
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
}
© Astronomical Research Cameras, Inc.