/usr/include/pano13/file.h is in libpano13-dev 2.9.19+dfsg-2+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | /*
* file.h
*
* Many of the routines are based on the program PTStitcher by Helmut
* Dersch.
*
* Copyright Helmut Dersch and Daniel M. German
*
* July 2006
*
* 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.
*
*
* Author: Daniel M German dmgerman at uvic doooot ca
*
*/
#ifndef __FILE_H__
#define __FILE_H__
// these are defined in file.c
PANO13_IMPEX int panoImageRead(Image * im, fullPath * sfile);
PANO13_IMPEX int panoFileMakeTemp(fullPath * path);
// and these are defined in bmp.c, jpeg.c, hdrfile.c, png.c, and ppm.c
// but there is no point in creating a file for each one of them
PANO13_IMPEX int panoBMPRead(Image *im, fullPath *sfile );
PANO13_IMPEX int panoJPEGRead(Image * im, fullPath * sfile);
PANO13_IMPEX int panoHDRRead(Image *im, fullPath *sfile );
PANO13_IMPEX int panoPNGRead(Image *im, fullPath *sfile );
PANO13_IMPEX int panoPPMRead(Image * im, fullPath * sfile);
typedef struct {
int stacked; // 1 if images are stacked
int psdBlendingMode; // for psd output, photoshop/gimp blending mode
int force8bit; // 1 if images should be forced to 8bit per channel
int forceBig; // 1 if the images should be forced to create PSB instead of PSD
} pano_flattening_parms;
typedef struct {
int type; //
int forceProcessing;
} pano_cropping_parms;
enum {
PSD_NORMAL,
PSD_COLOR,
PSD_DARKEN,
PSD_DIFFERENCE,
PSD_DISSOLVE,
PSD_HARD_LIGHT,
PSD_HUE,
PSD_LIGHTEN,
PSD_LUMINOSITY,
PSD_MULTIPLY,
PSD_OVERLAY,
PSD_SOFT_LIGHT,
PSD_SATURATION,
PSD_SCREEN,
PSD_NUMBER_BLENDING_MODES, // This Is Not Really a mode, it is the counter of number of modes
};
PANO13_IMPEX extern char *psdBlendingModesNames[PSD_NUMBER_BLENDING_MODES];
PANO13_IMPEX extern char *psdBlendingModesInternalName[PSD_NUMBER_BLENDING_MODES];
PANO13_IMPEX int panoFileOutputNamesCreate(fullPath *ptrOutputFiles, int filesCount, char* outputPrefix);
PANO13_IMPEX char *panoFileExists(fullPath *ptrFiles, int filesCount);
PANO13_IMPEX int panoSingleFileExists(char * filename);
PANO13_IMPEX int panoFileDeleteMultiple(fullPath* files, int filesCount);
#endif
|