IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2008, 4:46:05 PM (18 years ago)
Author:
Paul Price
Message:

If the BSCALE for quantisation can't be determined (e.g., a single-valued image), then write the image without quantisation and without compression.

File:
1 edited

Legend:

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

    r17660 r18156  
    176176    PS_ASSERT_FITS_NON_NULL(fits, false);
    177177
    178     *bscale = 1.0;
    179     *bzero = 0.0;
     178    *bscale = NAN;
     179    *bzero = NAN;
    180180    *blank = 0;
    181181
Note: See TracChangeset for help on using the changeset viewer.