IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 1, 2008, 4:50:41 PM (18 years ago)
Author:
Paul Price
Message:

Don't write header keywords particular to compressed images in ordinary uncompressed images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsImage.c

    r18590 r18869  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-07-17 03:34:22 $
     9 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-08-02 02:50:41 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    623623    }
    624624
    625     if (blank != 0) {
     625    if (blank != 0 && bitPix > 0) {
    626626        // Some quantisation has taken place --- record the blank ("magic") pixel value
    627627        char *keyword = (psFitsCompressionGetType(fits) != PS_FITS_COMPRESS_NONE &&
Note: See TracChangeset for help on using the changeset viewer.