Index: trunk/stac/src/stac.h
===================================================================
--- trunk/stac/src/stac.h	(revision 2783)
+++ trunk/stac/src/stac.h	(revision 2897)
@@ -22,4 +22,5 @@
     const char *output;			// Output file name
     int outnx, outny;			// Size of output image
+    float xOffset, yOffset;		// Offset to get lower-left corner at 0,0
     float saturated;			// Saturation level
     float bad;				// Bad level
@@ -127,5 +128,6 @@
 
 // Invert an array of maps
-psArray *stacInvertMaps(const psArray *maps // Array of maps to invert
+psArray *stacInvertMaps(const psArray *maps, // Array of maps to invert
+			const stacConfig *config // Configuration
     );
 
@@ -168,3 +170,14 @@
 /************************************************************************************************************/
 
+// stacSize.c
+
+// Calculate the size of the output image
+bool stacSize(stacConfig *config,	// Configuration, containing the output size
+	      const psArray *images,	// Input images
+	      psArray *maps		// Transformation maps
+    );
+
+
+/************************************************************************************************************/
+
 #endif
