IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6771 for trunk/stac/src/sum.c


Ignore:
Timestamp:
Apr 4, 2006, 12:06:11 PM (20 years ago)
Author:
Paul Price
Message:

Synching changes to psFitsReadImage (removed first argument) and psFitsWriteImage (added argument extname to end)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/sum.c

    r5745 r6771  
    2222        psFits *fits = psFitsOpen(inputNames->data[i], "r"); // FITS file
    2323        psRegion readRegion = {0, 0, 0, 0}; // Region to read
    24         psImage *image = psFitsReadImage(NULL, fits, readRegion, 0);
     24        psImage *image = psFitsReadImage(fits, readRegion, 0);
    2525        if (numCols == 0 && numRows == 0) {
    2626            // First run through --- set the size, initialise the output, read the header
     
    7575
    7676    psFits *fits = psFitsOpen(outputName, "w");
    77     (void)psFitsWriteImage(fits, header, output, 0);
     77    (void)psFitsWriteImage(fits, header, output, 0, NULL);
    7878    psFitsClose(fits);
    7979    psFree(output);
Note: See TracChangeset for help on using the changeset viewer.