1 /* libtiff/tiffconf.h. Generated by configure. */
3 Configuration defines for installed libtiff.
4 Editing this file no longer has any effect on the libtiff build!
10 /* Define as 0 or 1 according to the floating point format suported by the
14 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
15 #define HOST_FILLORDER FILLORDER_LSB2MSB
17 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
19 #define HOST_BIGENDIAN 0
21 /* Support CCITT Group 3 & 4 algorithms */
22 #define CCITT_SUPPORT 1
24 /* Support JPEG compression (requires IJG JPEG library) */
25 #define JPEG_SUPPORT 1
27 /* Support LogLuv high dynamic range encoding */
28 #define LOGLUV_SUPPORT 1
30 /* Support LZW algorithm */
33 /* Support NeXT 2-bit RLE algorithm */
34 #define NEXT_SUPPORT 1
36 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
37 fails with unpatched IJG JPEG library) */
38 /* #undef OJPEG_SUPPORT */
40 /* Support Macintosh PackBits algorithm */
41 #define PACKBITS_SUPPORT 1
43 /* Support Pixar log-format algorithm (requires Zlib) */
44 #define PIXARLOG_SUPPORT 1
46 /* Support ThunderScan 4-bit RLE algorithm */
47 #define THUNDER_SUPPORT 1
49 /* Support Deflate compression */
52 /* Support strip chopping (whether or not to convert single-strip uncompressed
53 images to mutiple strips of ~8Kb to reduce memory usage) */
54 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
56 /* Enable SubIFD tag (330) support */
57 #define SUBIFD_SUPPORT 1
59 /* Treat extra sample as alpha (default enabled). The RGBA interface will
60 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
61 packages produce RGBA files but don't mark the alpha properly. */
62 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
64 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
65 lacking the tag (default enabled). */
66 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
69 * Feature support definitions.
70 * XXX: These macros are obsoleted. Don't use them in your apps!
71 * Macros stays here for backward compatibility and should be always defined.
73 #define COLORIMETRY_SUPPORT
77 #define PHOTOSHOP_SUPPORT
80 #endif /* _TIFFCONF_ */