Changeset 20148 for trunk/pstamp/src/ppstampMakeStamp.c
- Timestamp:
- Oct 14, 2008, 12:15:10 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/src/ppstampMakeStamp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src/ppstampMakeStamp.c
r18981 r20148 282 282 pmFPAview *srcView = pmFPAviewAlloc(0); 283 283 if (psArrayLength(inChip->cells) > 1) { 284 // we extract our postage stamp from a mosaic so that 285 // we don't have to manage extracting from multiple cells 284 // we extract our postage stamp from a mosaic 286 285 pmFPAfile *mosaic = ppstampBuildMosaic(config, input, view); 287 286 if (mosaic == NULL) { … … 327 326 status = false; 328 327 break; 328 } 329 if (readout->mask) { 330 outReadout->mask = extractStamp(readout->mask, extractRegion, 0); 331 if (!outReadout->mask) { 332 psError(PS_ERR_UNKNOWN, false, "failed to create postage stamp mask image\n"); 333 status = false; 334 break; 335 } 336 } 337 if (readout->weight) { 338 outReadout->weight = extractStamp(readout->weight, extractRegion, 0); 339 if (!outReadout->weight) { 340 psError(PS_ERR_UNKNOWN, false, "failed to create postage stamp weight image\n"); 341 status = false; 342 break; 343 } 329 344 } 330 345
Note:
See TracChangeset
for help on using the changeset viewer.
