IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2015, 7:59:48 PM (11 years ago)
Author:
eugene
Message:

more work on compression : cfitsio assumes gzip, not zlib (I have made uncompress general )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/matrix/F_compress_utils.c

    r38339 r38340  
    131131}
    132132
    133 int gfits_extension_is_compressed (Header *header) {
     133int gfits_extension_is_compressed_image (Header *header) {
    134134
    135135    int has_extension, has_extname, has_zimage, zimage;
     
    146146    }
    147147
     148    return (FALSE);
     149}
     150
     151int gfits_extension_is_compressed_table (Header *header) {
     152
     153    int has_ztable, ztable;
     154    has_ztable  = gfits_scan_alt (header, "ZTABLE", "%t", 1, &ztable);
     155    if (has_ztable && ztable) return (TRUE);
    148156    return (FALSE);
    149157}
Note: See TracChangeset for help on using the changeset viewer.