1 /* libtiff/tiffconf.h. Generated by configure. */ 2 /* 3 Configuration defines for installed libtiff. 4 This file maintained for backward compatibility. Do not use definitions 5 from this file in your programs. 6 */ 7 8 #ifndef _TIFFCONF_ 9 #define _TIFFCONF_ 10 11 /* Compatibility stuff. */ 12 13 /* Define as 0 or 1 according to the floating point format suported by the 14 machine */ 15 #define HAVE_IEEEFP 1 16 17 /* Support CCITT Group 3 & 4 algorithms */ 18 #define CCITT_SUPPORT 1 19 20 /* Support LogLuv high dynamic range encoding */ 21 #define LOGLUV_SUPPORT 1 22 23 /* Support LZW algorithm */ 24 #define LZW_SUPPORT 1 25 26 /* Support NeXT 2-bit RLE algorithm */ 27 #define NEXT_SUPPORT 1 28 29 /* Support Macintosh PackBits algorithm */ 30 #define PACKBITS_SUPPORT 1 31 32 /* Support Pixar log-format algorithm (requires Zlib) */ 33 #define PIXARLOG_SUPPORT 1 34 35 /* Support ThunderScan 4-bit RLE algorithm */ 36 #define THUNDER_SUPPORT 1 37 38 /* Support strip chopping (whether or not to convert single-strip uncompressed 39 images to mutiple strips of ~8Kb to reduce memory usage) */ 40 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP 41 42 /* Enable SubIFD tag (330) support */ 43 #define SUBIFD_SUPPORT 1 44 45 /* Treat extra sample as alpha (default enabled). The RGBA interface will 46 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many 47 packages produce RGBA files but don't mark the alpha properly. */ 48 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 49 50 /* Pick up YCbCr subsampling info from the JPEG data stream to support files 51 lacking the tag (default enabled). */ 52 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 53 54 /* Support MS MDI magic number files as TIFF */ 55 #define MDI_SUPPORT 1 56 57 /* 58 * Feature support definitions. 59 * XXX: These macros are obsoleted. Don't use them in your apps! 60 * Macros stays here for backward compatibility and should be always defined. 61 */ 62 #define COLORIMETRY_SUPPORT 63 #define YCBCR_SUPPORT 64 #define CMYK_SUPPORT 65 #define ICC_SUPPORT 66 #define PHOTOSHOP_SUPPORT 67 #define IPTC_SUPPORT 68 69 #if defined ( _MSC_VER ) 70 #pragma warning ( disable : 4057 ) 71 #pragma warning ( disable : 4100 ) 72 #pragma warning ( disable : 4115 ) 73 #pragma warning ( disable : 4127 ) 74 #pragma warning ( disable : 4189 ) 75 #pragma warning ( disable : 4244 ) 76 #pragma warning ( disable : 4251 ) 77 #pragma warning ( disable : 4267 ) 78 #pragma warning ( disable : 4305 ) 79 #pragma warning ( disable : 4309 ) 80 #pragma warning ( disable : 4505 ) 81 #pragma warning ( disable : 4706 ) 82 #pragma warning ( disable : 4786 ) 83 #pragma warning ( disable : 4311 ) 84 #pragma warning ( disable : 4312 ) 85 #endif 86 87 #if defined(__BORLANDC__) 88 #pragma warn -8004 /* "assigned a value that is never used" */ 89 #pragma warn -8008 /* "condition is always true" */ 90 #pragma warn -8012 /* "comparing signed and unsigned values" */ 91 #pragma warn -8057 /* "parameter is never used" */ 92 #pragma warn -8060 /* "possibly incorrect assignment" */ 93 #endif 94 95 96 #endif /* _TIFFCONF_ */ 97