Index: /trunk/psLib/pslib.kdevses
===================================================================
--- /trunk/psLib/pslib.kdevses	(revision 4607)
+++ /trunk/psLib/pslib.kdevses	(revision 4608)
@@ -2,11 +2,17 @@
 <!DOCTYPE KDevPrjSession>
 <KDevPrjSession>
- <DocsAndViews NumberOfDocuments="2" >
-  <Doc0 NumberOfViews="1" URL="file:/home/drobbin/panstarrs/new/psLib/src/types/psArray.c" >
-   <View0 Type="Source" />
+ <DocsAndViews NumberOfDocuments="4" >
+  <Doc0 NumberOfViews="1" URL="file:/home/drobbin/panstarrs/new/psLib/src/math/psMinimize.h" >
+   <View0 line="74" Type="Source" />
   </Doc0>
-  <Doc1 NumberOfViews="1" URL="file:/home/drobbin/panstarrs/new/psLib/src/types/psArray.h" >
-   <View0 line="58" Type="Source" />
+  <Doc1 NumberOfViews="1" URL="file:/home/drobbin/panstarrs/new/psLib/src/math/psMinimize.c" >
+   <View0 line="1568" Type="Source" />
   </Doc1>
+  <Doc2 NumberOfViews="1" URL="file:/home/drobbin/panstarrs/new/psLib/src/imageops/psImageGeomManip.h" >
+   <View0 line="145" Type="Source" />
+  </Doc2>
+  <Doc3 NumberOfViews="1" URL="file:/home/drobbin/panstarrs/new/psLib/src/imageops/psImageGeomManip.c" >
+   <View0 line="690" Type="Source" />
+  </Doc3>
  </DocsAndViews>
  <pluginList>
Index: /trunk/psLib/src/imageops/psImageGeomManip.c
===================================================================
--- /trunk/psLib/src/imageops/psImageGeomManip.c	(revision 4607)
+++ /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;
Index: /trunk/psLib/src/imageops/psImageGeomManip.h
===================================================================
--- /trunk/psLib/src/imageops/psImageGeomManip.h	(revision 4607)
+++ /trunk/psLib/src/imageops/psImageGeomManip.h	(revision 4608)
@@ -8,6 +8,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-25 00:51:28 $
+ *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-25 20:49:04 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -144,5 +144,5 @@
 psImage* psImageTransform(
     psImage *output,                   ///< psImage to recycle, or NULL
-    psPixels* blankPixels,             ///< list of pixels in output image not set, or NULL if no list is desired.
+    psArray* 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
Index: /trunk/psLib/src/types/psPixels.h
===================================================================
--- /trunk/psLib/src/types/psPixels.h	(revision 4607)
+++ /trunk/psLib/src/types/psPixels.h	(revision 4608)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-22 22:19:31 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-25 20:49:04 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -73,5 +73,6 @@
 psPixels* p_psPixelsAppend(
     psPixels* pixels,                  ///< psPixels to append new coordinate to.  NULL creates a new one.
-    long growth,                        ///< number of elements to grow the psPixels list, if necessary.  if growth < 1, 10 is used.
+    long growth,
+    ///< number of elements to grow the psPixels list, if necessary.  if growth < 1, 10 is used.
     int x,                             ///< x coordinate to append
     int y                              ///< y coordinate to append
