/*
 *  PTStitcher
 *
 *  Based on the program  by Helmut Dersch's panorama-tools
 *  to duplicate the functionality of original program
 *
 *  Dec 2005
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This software is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this software; see the file COPYING.  If not, a copy
 *  can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 *  obtained by writing to the Free Software Foundation, Inc.,
 *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 *
 *
 * 
 */


/* Global variables */

#ifndef __PTmender_h__

#define __PTmender_h__


extern stBuf global5640;

extern VRPanoOptions defaultVRPanoOptions;
extern int jpegQuality;
extern int jpegProgressive;

// TIFFTAG_PIXAR_IMAGEFULLWIDTH and TIFFTAG_PIXAR_IMAGEFULLLENGTH should be defined in 
// tiff.h.  but, just in case...
#ifndef TIFFTAG_PIXAR_IMAGEFULLWIDTH
#define TIFFTAG_PIXAR_IMAGEFULLWIDTH    33300   /* full image size in x */
#endif

#ifndef TIFFTAG_PIXAR_IMAGEFULLLENGTH
#define TIFFTAG_PIXAR_IMAGEFULLLENGTH   33301   /* full image size in y */
#endif



/* These functions are already implemented */



//void ReplaceExt(char *, char*);
char* Filename(fullPath* path);
//int CreatePanorama(fullPath ptrImageFileNames[], int counterImageFiles, fullPath *panoFileName, fullPath *scriptFileName);
//void ARGtoRGBAImage(Image *im);


/* These functions need to be implemented */

void Clear_Area_Outside_Selected_Region(Image *currentImagePtr);
int Unknown01(Image *, fullPath*);
int Unknown02(Image *, fullPath*);
int Unknown03(Image *, fullPath*);
int Unknown04(Image *, fullPath*);
int Unknown05(Image *, fullPath*);
int Unknown07(Image *, fullPath*);
int Create_LP_ivr(Image *, fullPath*);
void getROI( TrformStr *TrPtr, aPrefs *aP, PTRect *ROIRect);

#endif

