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 /* Define as 0 or 1 according to the floating point format suported by the
22 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
23 #define HOST_FILLORDER FILLORDER_LSB2MSB
25 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
27 #define HOST_BIGENDIAN 0
29 /* Support CCITT Group 3 & 4 algorithms */
30 #define CCITT_SUPPORT 1
32 /* Support LogLuv high dynamic range encoding */
33 #define LOGLUV_SUPPORT 1
35 /* Support LZW algorithm */
38 /* Support NeXT 2-bit RLE algorithm */
39 #define NEXT_SUPPORT 1
41 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
42 fails with unpatched IJG JPEG library) */
43 /* #undef OJPEG_SUPPORT */
45 /* Support Macintosh PackBits algorithm */
46 #define PACKBITS_SUPPORT 1
48 /* Support ThunderScan 4-bit RLE algorithm */
49 #define THUNDER_SUPPORT 1
51 /* Support strip chopping (whether or not to convert single-strip uncompressed
52 images to mutiple strips of ~8Kb to reduce memory usage) */
53 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
55 /* Enable SubIFD tag (330) support */
56 #define SUBIFD_SUPPORT 1
58 /* Treat extra sample as alpha (default enabled). The RGBA interface will
59 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
60 packages produce RGBA files but don't mark the alpha properly. */
61 /*#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1*/
63 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
64 lacking the tag (default enabled). */
65 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
67 /* Support MS MDI magic number files as TIFF */
71 * Feature support definitions.
72 * XXX: These macros are obsoleted. Don't use them in your apps!
73 * Macros stays here for backward compatibility and should be always defined.
75 #define COLORIMETRY_SUPPORT
79 #define PHOTOSHOP_SUPPORT
82 #endif /* _TIFFCONF_ */