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 #include "tif_config.h"
11 #if defined( HAVE_STDINT_H )
14 #if defined( HAVE_UNISTD_H )
18 /* Signed 16-bit type */
19 #define TIFF_INT16_T @TIFF_INT16_T@
21 /* Signed 32-bit type */
22 #define TIFF_INT32_T @TIFF_INT32_T@
24 /* Signed 64-bit type */
25 #define TIFF_INT64_T @TIFF_INT64_T@
27 /* Signed 8-bit type */
28 #define TIFF_INT8_T @TIFF_INT8_T@
30 /* Unsigned 16-bit type */
31 #define TIFF_UINT16_T @TIFF_UINT16_T@
33 /* Unsigned 32-bit type */
34 #define TIFF_UINT32_T @TIFF_UINT32_T@
36 /* Unsigned 64-bit type */
37 #define TIFF_UINT64_T @TIFF_UINT64_T@
39 /* Unsigned 8-bit type */
40 #define TIFF_UINT8_T @TIFF_UINT8_T@
42 /* Unsigned size type */
43 #define TIFF_SIZE_T @TIFF_SIZE_T@
45 /* Signed size type */
46 #define TIFF_SSIZE_T @TIFF_SSIZE_T@
48 /* Pointer difference type */
49 #define TIFF_PTRDIFF_T @TIFF_PTRDIFF_T@
51 /* Define as 0 or 1 according to the floating point format suported by the
55 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
56 #define HOST_FILLORDER FILLORDER_LSB2MSB
58 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
60 #define HOST_BIGENDIAN 0
62 /* Support CCITT Group 3 & 4 algorithms */
63 #define CCITT_SUPPORT 1
65 /* Support LogLuv high dynamic range encoding */
66 #define LOGLUV_SUPPORT 1
68 /* Support LZW algorithm */
71 /* Support NeXT 2-bit RLE algorithm */
72 #define NEXT_SUPPORT 1
74 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
75 fails with unpatched IJG JPEG library) */
76 /* #undef OJPEG_SUPPORT */
78 /* Support Macintosh PackBits algorithm */
79 #define PACKBITS_SUPPORT 1
81 /* Support ThunderScan 4-bit RLE algorithm */
82 #define THUNDER_SUPPORT 1
84 /* Support strip chopping (whether or not to convert single-strip uncompressed
85 images to mutiple strips of ~8Kb to reduce memory usage) */
86 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
88 /* Enable SubIFD tag (330) support */
89 #define SUBIFD_SUPPORT 1
91 /* Treat extra sample as alpha (default enabled). The RGBA interface will
92 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
93 packages produce RGBA files but don't mark the alpha properly. */
94 /*#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1*/
96 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
97 lacking the tag (default enabled). */
98 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
100 /* Support MS MDI magic number files as TIFF */
101 #define MDI_SUPPORT 1
104 * Feature support definitions.
105 * XXX: These macros are obsoleted. Don't use them in your apps!
106 * Macros stays here for backward compatibility and should be always defined.
108 #define COLORIMETRY_SUPPORT
109 #define YCBCR_SUPPORT
112 #define PHOTOSHOP_SUPPORT
115 #endif /* _TIFFCONF_ */