summaryrefslogtreecommitdiff
path: root/tiffconf.h.in (plain)
blob: 6da9c5a654c438a689f5317b647633b7f74abe8a
1/*
2 Configuration defines for installed libtiff.
3 This file maintained for backward compatibility. Do not use definitions
4 from this file in your programs.
5*/
6
7#ifndef _TIFFCONF_
8#define _TIFFCONF_
9
10/* Signed 16-bit type */
11#undef TIFF_INT16_T
12
13/* Signed 32-bit type */
14#undef TIFF_INT32_T
15
16/* Signed 64-bit type */
17#undef TIFF_INT64_T
18
19/* Signed 8-bit type */
20#undef TIFF_INT8_T
21
22/* Unsigned 16-bit type */
23#undef TIFF_UINT16_T
24
25/* Unsigned 32-bit type */
26#undef TIFF_UINT32_T
27
28/* Unsigned 64-bit type */
29#undef TIFF_UINT64_T
30
31/* Unsigned 8-bit type */
32#undef TIFF_UINT8_T
33
34/* Signed size type */
35#undef TIFF_SSIZE_T
36
37/* Pointer difference type */
38#undef TIFF_PTRDIFF_T
39
40/* Define to 1 if the system has the type `int16'. */
41#undef HAVE_INT16
42
43/* Define to 1 if the system has the type `int32'. */
44#undef HAVE_INT32
45
46/* Define to 1 if the system has the type `int8'. */
47#undef HAVE_INT8
48
49/* Compatibility stuff. */
50
51/* Define as 0 or 1 according to the floating point format suported by the
52 machine */
53#undef HAVE_IEEEFP
54
55/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
56#undef HOST_FILLORDER
57
58/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
59 (Intel) */
60#undef HOST_BIGENDIAN
61
62/* Support CCITT Group 3 & 4 algorithms */
63#undef CCITT_SUPPORT
64
65/* Support JPEG compression (requires IJG JPEG library) */
66#undef JPEG_SUPPORT
67
68/* Support JBIG compression (requires JBIG-KIT library) */
69#undef JBIG_SUPPORT
70
71/* Support LogLuv high dynamic range encoding */
72#undef LOGLUV_SUPPORT
73
74/* Support LZW algorithm */
75#undef LZW_SUPPORT
76
77/* Support NeXT 2-bit RLE algorithm */
78#undef NEXT_SUPPORT
79
80/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
81 fails with unpatched IJG JPEG library) */
82#undef OJPEG_SUPPORT
83
84/* Support Macintosh PackBits algorithm */
85#undef PACKBITS_SUPPORT
86
87/* Support Pixar log-format algorithm (requires Zlib) */
88#undef PIXARLOG_SUPPORT
89
90/* Support ThunderScan 4-bit RLE algorithm */
91#undef THUNDER_SUPPORT
92
93/* Support Deflate compression */
94#undef ZIP_SUPPORT
95
96/* Support strip chopping (whether or not to convert single-strip uncompressed
97 images to mutiple strips of ~8Kb to reduce memory usage) */
98#undef STRIPCHOP_DEFAULT
99
100/* Enable SubIFD tag (330) support */
101#undef SUBIFD_SUPPORT
102
103/* Treat extra sample as alpha (default enabled). The RGBA interface will
104 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
105 packages produce RGBA files but don't mark the alpha properly. */
106#undef DEFAULT_EXTRASAMPLE_AS_ALPHA
107
108/* Pick up YCbCr subsampling info from the JPEG data stream to support files
109 lacking the tag (default enabled). */
110#undef CHECK_JPEG_YCBCR_SUBSAMPLING
111
112/* Support MS MDI magic number files as TIFF */
113#undef MDI_SUPPORT
114
115/*
116 * Feature support definitions.
117 * XXX: These macros are obsoleted. Don't use them in your apps!
118 * Macros stays here for backward compatibility and should be always defined.
119 */
120#define COLORIMETRY_SUPPORT
121#define YCBCR_SUPPORT
122#define CMYK_SUPPORT
123#define ICC_SUPPORT
124#define PHOTOSHOP_SUPPORT
125#define IPTC_SUPPORT
126
127#endif /* _TIFFCONF_ */
128