IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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/calcGradient.c

    r5743 r6771  
    1616
    1717    // We only read PHUs --- not mucking around with extensions for now
    18     psImage *image = psFitsReadImage(NULL, inFile, imageRegion, 0);
     18    psImage *image = psFitsReadImage(inFile, imageRegion, 0);
    1919    if (image == NULL) {
    2020        psErrorStackPrint(stderr,"Fatal error: Unable to read %s\n", inName);
     
    4646
    4747    psFits *outFile = psFitsOpen(outName, "w");
    48     if (!psFitsWriteImage(outFile, NULL, grad, 0)) {
     48    if (!psFitsWriteImage(outFile, NULL, grad, 0, NULL)) {
    4949        psErrorStackPrint(stderr, "Unable to write image: %s\n", outName);
    5050    }
Note: See TracChangeset for help on using the changeset viewer.