Index: trunk/ppImage/src/ppImageMosaic.c
===================================================================
--- trunk/ppImage/src/ppImageMosaic.c	(revision 12818)
+++ trunk/ppImage/src/ppImageMosaic.c	(revision 13901)
@@ -5,5 +5,6 @@
 #include "ppImage.h"
 
-bool ppImageMosaicChip(pmConfig *config, const pmFPAview *view, char *outFile, char *inFile)
+bool ppImageMosaicChip(pmConfig *config, const ppImageOptions *options, const pmFPAview *view,
+                       const char *outFile, const char *inFile)
 {
     bool status;                        // Status of MD lookup
@@ -31,11 +32,12 @@
             in->name, out->name, in->xBin, in->yBin, out->xBin, out->yBin);
 
-    // XXX mosaic the chip, making a deep copy.  this has the side effect of making the 
+    // XXX mosaic the chip, making a deep copy.  this has the side effect of making the
     // output image products pure trimmed images, but also increases the memory footprint.
-    status = pmChipMosaic(outChip, inChip, true);
+    status = pmChipMosaic(outChip, inChip, true, options->blankMask);
     return status;
 }
 
-bool ppImageMosaicFPA (pmConfig *config, char *outFile, char *inFile)
+bool ppImageMosaicFPA (pmConfig *config, const ppImageOptions *options, const char *outFile,
+                       const char *inFile)
 {
     bool status;                        // Status of MD lookup
@@ -72,4 +74,4 @@
     psTrace ("pmFPAMosaic", 5, "mosaic fpa %s to %s (xbin,ybin: %d,%d to %d,%d)\n",
              in->name, out->name, in->xBin, in->yBin, out->xBin, out->yBin);
-    return pmFPAMosaic(out->fpa, in->fpa, false);
+    return pmFPAMosaic(out->fpa, in->fpa, false, options->blankMask);
 }
