long rows |
The new row dimension ( in pixels ). |
long cols |
The new column dimension ( in pixels ). |
// This code demonstrates how to resize a 512x600
// pixel FITS file to be 1024x1200.
#include <iostream>
#include "CFitsFile.h"
using namespace std;
using namespace arc;
int main()
{
try {
CFitsFile cFits( "Image.fit" );
cFits.Resize( 1024, 1200 );
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
}
© Astronomical Research Cameras, Inc.