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/* Define to 1 if the system has the type `int16'. */
11/* #undef HAVE_INT16 */
12
13/* Define to 1 if the system has the type `int32'. */
14/* #undef HAVE_INT32 */
15
16/* Define to 1 if the system has the type `int8'. */
17/* #undef HAVE_INT8 */
18
19/* The size of a `int', as computed by sizeof. */
20#define SIZEOF_INT 4
21
22/* The size of a `long', as computed by sizeof. */
23#define SIZEOF_LONG 4
24
25/* Compatibility stuff. */
26
27/* Define as 0 or 1 according to the floating point format suported by the
28   machine */
29#define HAVE_IEEEFP 1
30
31/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
32#define HOST_FILLORDER FILLORDER_LSB2MSB
33
34/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
35   (Intel) */
36#define HOST_BIGENDIAN 0
37
38/* Support CCITT Group 3 & 4 algorithms */
39#define CCITT_SUPPORT 1
40
41/* Support JPEG compression (requires IJG JPEG library) */
42/* #undef JPEG_SUPPORT */
43
44/* Support LogLuv high dynamic range encoding */
45#define LOGLUV_SUPPORT 1
46
47/* Support LZW algorithm */
48#define LZW_SUPPORT 1
49
50/* Support NeXT 2-bit RLE algorithm */
51#define NEXT_SUPPORT 1
52
53/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
54   fails with unpatched IJG JPEG library) */
55/* #undef OJPEG_SUPPORT */
56
57/* Support Macintosh PackBits algorithm */
58#define PACKBITS_SUPPORT 1
59
60/* Support Pixar log-format algorithm (requires Zlib) */
61/* #undef PIXARLOG_SUPPORT */
62
63/* Support ThunderScan 4-bit RLE algorithm */
64#define THUNDER_SUPPORT 1
65
66/* Support Deflate compression */
67/* #undef ZIP_SUPPORT */
68
69/* Support strip chopping (whether or not to convert single-strip uncompressed
70   images to mutiple strips of ~8Kb to reduce memory usage) */
71#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
72
73/* Enable SubIFD tag (330) support */
74#define SUBIFD_SUPPORT 1
75
76/* Treat extra sample as alpha (default enabled). The RGBA interface will
77   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
78   packages produce RGBA files but don't mark the alpha properly. */
79#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
80
81/* Pick up YCbCr subsampling info from the JPEG data stream to support files
82   lacking the tag (default enabled). */
83#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
84
85/*
86 * Feature support definitions.
87 * XXX: These macros are obsoleted. Don't use them in your apps!
88 * Macros stays here for backward compatibility and should be always defined.
89 */
90#define COLORIMETRY_SUPPORT
91#define YCBCR_SUPPORT
92#define CMYK_SUPPORT
93#define ICC_SUPPORT
94#define PHOTOSHOP_SUPPORT
95#define IPTC_SUPPORT
96
97#endif /* _TIFFCONF_ */
98