IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2010, 9:21:36 PM (15 years ago)
Author:
eugene
Message:

support for compressed metadata files; clarify rules for constructing a mask; support for modified psphotReadout API; remove some deprecated comments and test prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageStatsOutput.c

    r27064 r29926  
    2828        return false;
    2929    }
    30     if (!psMetadataConfigWrite(stats, resolved)) {
     30
     31    // check for Metadata compression options:
     32    char *compressMode;
     33    bool status = false;
     34    if (config->camera) {
     35        // XXX use a different config variable for this output?
     36        compressMode = psMetadataLookupStr(&status, config->camera, "METADATA.COMPRESSION");
     37    }
     38
     39    if (!psMetadataConfigWrite(stats, resolved, compressMode)) {
    3140        psError(psErrorCodeLast(), false, "Unable to serialize stats metadata.\n");
    3241        psFree(resolved);
Note: See TracChangeset for help on using the changeset viewer.