Index: trunk/pswarp/src/pswarpSetMaskBits.c
===================================================================
--- trunk/pswarp/src/pswarpSetMaskBits.c	(revision 26012)
+++ trunk/pswarp/src/pswarpSetMaskBits.c	(revision 26013)
@@ -48,4 +48,7 @@
     maskOut |= poorMask;
 
+    // the output image includes all of the bits from the input image
+    maskOut |= maskIn;
+
     // search for an unset bit to use for MARK:
     psImageMaskType markOut   = 0x00;
