Index: trunk/psLib/src/imageops/psImageGeomManip.c
===================================================================
--- trunk/psLib/src/imageops/psImageGeomManip.c	(revision 4544)
+++ trunk/psLib/src/imageops/psImageGeomManip.c	(revision 4608)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-12 19:33:49 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-25 20:49:04 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -689,5 +689,5 @@
 
 psImage* psImageTransform(psImage *output,
-                          psPixels* blankPixels,
+                          psArray* blankPixels,
                           const psImage *input,
                           const psImage *inputMask,
@@ -706,4 +706,11 @@
     }
     psElemType type = input->type.type;
+    psPixels* tempPixels = NULL;
+
+    if(blankPixels != NULL) {
+        tempPixels = psPixelsAlloc(blankPixels->nalloc);
+        tempPixels->n = blankPixels->n;
+        tempPixels->data = (psPixelCoord*)blankPixels->data;
+    }
 
     if (inputMask != NULL) {
@@ -801,5 +808,5 @@
     if (isnan(value)) { \
         if (blankPixels != NULL) { \
-            p_psPixelsAppend(blankPixels, blankPixels->nalloc, outPosition.x, outPosition.y); \
+            p_psPixelsAppend(tempPixels, tempPixels->nalloc, outPosition.x, outPosition.y); \
         } \
         value = exposedValue; \
@@ -866,4 +873,5 @@
 
     psFree(inPosition);
+    psFree(tempPixels);
 
     return output;
