IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 31, 2015, 8:59:47 AM (11 years ago)
Author:
eugene
Message:

turn on byteswap for gzip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/table/F_compress_T.c

    r38342 r38343  
    154154     
    155155      int Nraw = Nrows*fields[j].Nvalues; // number of pixels
     156      if (!strcmp(fields[j].zctype, "GZIP_1")) {
     157        if (!gfits_byteswap_zdata (raw, Nraw, fields[j].pixsize)) ESCAPE(A);
     158      }
     159
    156160      int Nzdata = Nzdata_alloc; // available space, replaced with actual output size on compression
    157161      if (!gfits_compress_data (zdata, &Nzdata, fields[j].zctype, NULL, NULL, 0, raw, Nraw, fields[j].pixsize)) ESCAPE(A);
Note: See TracChangeset for help on using the changeset viewer.