IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2012, 11:56:52 AM (14 years ago)
Author:
bills
Message:

In ppstamp optionally produce a JPEG image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/src/ppstampArguments.c

    r29885 r33378  
    2121    fprintf(stderr, "\n");
    2222    fprintf(stderr, "Optional arguments:\n");
    23     fprintf(stderr, "   [-class_id class_id]     selects class_id (only used with -pixcenter)\n");
    24     fprintf(stderr, "   [-astrom astrom.cmp] :   provide an alternative astrometry calibration\n");
    25     fprintf(stderr, "   [-mask   mk_image] :     mask image\n");
    26     fprintf(stderr, "   [-variance var_image] :  variance image\n");
    27     fprintf(stderr, "   [-no_censor_masked] : do not set masked pixels to NAN\n");
     23    fprintf(stderr, "   [-class_id class_id]  : selects class_id (only used with -pixcenter)\n");
     24    fprintf(stderr, "   [-astrom astrom.cmp]  : provide an alternative astrometry calibration\n");
     25    fprintf(stderr, "   [-mask   mk_image]    : mask image\n");
     26    fprintf(stderr, "   [-variance var_image] : variance image\n");
     27    fprintf(stderr, "   [-stage stage]        : stage of input image (raw, chip, warp, stack, diff)\n");
     28    fprintf(stderr, "   [-write_jpeg]         : write a JPEG  format of the image stamp\n");
     29    // fprintf(stderr, "   [-no_censor_masked]   : do not set masked pixels to NAN\n");
    2830    fprintf(stderr, "\n");
    2931
     
    8486        psArgumentRemove(argnum, &argc, argv);
    8587    }
     88    if ((argnum = psArgumentGet(argc, argv, "-write_jpeg"))) {
     89        psArgumentRemove(argnum, &argc, argv);
     90        options->writeJPEG = true;
     91    } else {
     92        options->writeJPEG = false;
     93    }
    8694
    8795    pmConfigFileSetsMD(config->arguments, &argc, argv, "ASTROM", "-astrom", "-astromlist");
Note: See TracChangeset for help on using the changeset viewer.