TinyTIFF
a lightweight C/C++ library for reading and writing TIFF files
Loading...
Searching...
No Matches
tinytiff_defs.h
1/*
2 Copyright (c) 2008-2024 Jan W. Krieger (<jan@jkrieger.de>), German Cancer Research Center (DKFZ) & IWR, University of Heidelberg
3
4 This software is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License (LGPL) as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17
18*/
19#ifndef TIFYTIFF_DEFS_H
20#define TIFYTIFF_DEFS_H
21
22
23#ifndef TINYTIFF_TRUE
28# define TINYTIFF_TRUE 1
29#endif
30#ifndef TINYTIFF_FALSE
35# define TINYTIFF_FALSE 0
36#endif
37
38
45#define TINYTIFF_SAMPLEFORMAT_UINT 1
52#define TINYTIFF_SAMPLEFORMAT_INT 2
59#define TINYTIFF_SAMPLEFORMAT_FLOAT 3
65#define TINYTIFF_SAMPLEFORMAT_UNDEFINED 4
66
67
68
79#endif // TIFYTIFF_DEFS_H
TinyTIFFSampleLayout
describes the layout of multi-sample images in memory
Definition tinytiff_defs.h:73
@ TinyTIFF_Separate
Definition tinytiff_defs.h:76
@ TinyTIFF_Planar
Definition tinytiff_defs.h:77
@ TinyTIFF_Interleaved
Definition tinytiff_defs.h:74
@ TinyTIFF_Chunky
Definition tinytiff_defs.h:75