2 Configuration defines for installed libtiff.
3 This file maintained for backward compatibility. Do not use definitions
4 from this file in your programs.
10 /* Define to 1 if the system has the type `int16'. */
11 /* #undef HAVE_INT16 */
13 /* Define to 1 if the system has the type `int32'. */
14 /* #undef HAVE_INT32 */
16 /* Define to 1 if the system has the type `int8'. */
17 /* #undef HAVE_INT8 */
19 /* The size of a `int', as computed by sizeof. */
22 /* The size of a `long', as computed by sizeof. */
25 /* Signed 64-bit type formatter */
26 #define TIFF_INT64_FORMAT "%I64d"
28 /* Signed 64-bit type */
29 #define TIFF_INT64_T signed __int64
31 /* Unsigned 64-bit type formatter */
32 #define TIFF_UINT64_FORMAT "%I64u"
34 /* Unsigned 64-bit type */
35 #define TIFF_UINT64_T unsigned __int64
37 /* Compatibility stuff. */
39 /* Define as 0 or 1 according to the floating point format suported by the
43 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
44 #define HOST_FILLORDER FILLORDER_LSB2MSB
46 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
48 #define HOST_BIGENDIAN 0
50 /* Support CCITT Group 3 & 4 algorithms */
51 #define CCITT_SUPPORT 1
53 /* Support JPEG compression (requires IJG JPEG library) */
54 /* #undef JPEG_SUPPORT */
56 /* Support LogLuv high dynamic range encoding */
57 #define LOGLUV_SUPPORT 1
59 /* Support LZW algorithm */
62 /* Support NeXT 2-bit RLE algorithm */
63 #define NEXT_SUPPORT 1
65 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
66 fails with unpatched IJG JPEG library) */
67 /* #undef OJPEG_SUPPORT */
69 /* Support Macintosh PackBits algorithm */
70 #define PACKBITS_SUPPORT 1
72 /* Support Pixar log-format algorithm (requires Zlib) */
73 /* #undef PIXARLOG_SUPPORT */
75 /* Support ThunderScan 4-bit RLE algorithm */
76 #define THUNDER_SUPPORT 1
78 /* Support Deflate compression */
79 /* #undef ZIP_SUPPORT */
81 /* Support strip chopping (whether or not to convert single-strip uncompressed
82 images to mutiple strips of ~8Kb to reduce memory usage) */
83 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
85 /* Enable SubIFD tag (330) support */
86 #define SUBIFD_SUPPORT 1
88 /* Treat extra sample as alpha (default enabled). The RGBA interface will
89 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
90 packages produce RGBA files but don't mark the alpha properly. */
91 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
93 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
94 lacking the tag (default enabled). */
95 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
98 * Feature support definitions.
99 * XXX: These macros are obsoleted. Don't use them in your apps!
100 * Macros stays here for backward compatibility and should be always defined.
102 #define COLORIMETRY_SUPPORT
103 #define YCBCR_SUPPORT
106 #define PHOTOSHOP_SUPPORT
109 #endif /* _TIFFCONF_ */