Index: trunk/psLib/src/imageops/psImageGeomManip.c
===================================================================
--- trunk/psLib/src/imageops/psImageGeomManip.c	(revision 6346)
+++ trunk/psLib/src/imageops/psImageGeomManip.c	(revision 6354)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-28 01:12:11 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-02-08 01:03:35 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -689,5 +689,5 @@
 
 psImage* psImageTransform(psImage *output,
-                          psArray* blankPixels,
+                          psPixels** blankPixels,
                           const psImage *input,
                           const psImage *inputMask,
@@ -706,10 +706,7 @@
     }
     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 (blankPixels != NULL && *blankPixels == NULL) {
+        *blankPixels = psPixelsAlloc(0);
     }
 
@@ -786,8 +783,4 @@
     psPlane outPosition;
     psPlane* inPosition = NULL;
-
-
-
-
 
     #define PSIMAGE_TRANSFORM_DOTRANSFORM(TYPE,MODE) \
@@ -808,5 +801,5 @@
     if (isnan(value)) { \
         if (blankPixels != NULL) { \
-            p_psPixelsAppend(tempPixels, tempPixels->nalloc, outPosition.x, outPosition.y); \
+            p_psPixelsAppend(*blankPixels, (*blankPixels)->nalloc, outPosition.x, outPosition.y); \
         } \
         value = exposedValue; \
@@ -873,5 +866,4 @@
 
     psFree(inPosition);
-    psFree(tempPixels);
 
     return output;
Index: trunk/psLib/src/imageops/psImageGeomManip.h
===================================================================
--- trunk/psLib/src/imageops/psImageGeomManip.h	(revision 6346)
+++ trunk/psLib/src/imageops/psImageGeomManip.h	(revision 6354)
@@ -8,6 +8,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-28 01:12:11 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-02-08 01:03:35 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -144,5 +144,5 @@
 psImage* psImageTransform(
     psImage *output,                   ///< psImage to recycle, or NULL
-    psArray* blankPixels,              ///< list of pixels in output image not set, or NULL if no list is desired.
+    psPixels** blankPixels,            ///< list of pixels in output image not set, or NULL if no list is desired.
     const psImage *input,              ///< psImage to apply transform to
     const psImage *inputMask,          ///< if not NULL, mask of input psImage
@@ -151,5 +151,5 @@
     psRegion region,                   ///< the size of the transformed image
     const psPixels* pixels,            /**< if not NULL, consists of psPixelCoords and specifies which pixels in
-                                                                             *  output image shall be transformed; otherwise, entire image generated*/
+                                                                                 *  output image shall be transformed; otherwise, entire image generated*/
     psImageInterpolateMode mode,       ///< the interpolation scheme to be used
     double exposedValue                   ///< Exposed value to which non-corresponding pixels are set
