1 /* PDFlib GmbH cvsid: $Id: tiffconf.h,v 1.10 2005/12/19 18:36:55 rjs Exp $ */ 2 3 /* libtiff/tiffconf.h. Generated by hand. */ 4 /* 5 Configuration defines for installed libtiff. 6 Editing this file no longer has any effect on the libtiff build! 7 */ 8 9 #ifndef _TIFFCONF_ 10 #define _TIFFCONF_ 11 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 JPEG compression (requires IJG JPEG library) */ 21 #define JPEG_SUPPORT 1 22 23 /* Support LogLuv high dynamic range encoding */ 24 #define LOGLUV_SUPPORT 1 25 26 /* Support LZW algorithm */ 27 #define LZW_SUPPORT 1 28 29 /* Support NeXT 2-bit RLE algorithm */ 30 #define NEXT_SUPPORT 1 31 32 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation 33 fails with unpatched IJG JPEG library) */ 34 #define OJPEG_SUPPORT 1 /* PDFlib Gmbh */ 35 36 /* Support Macintosh PackBits algorithm */ 37 #define PACKBITS_SUPPORT 1 38 39 /* Support Pixar log-format algorithm (requires Zlib) */ 40 #define PIXARLOG_SUPPORT 1 41 #undef PIXARLOG_SUPPORT /* PDFlib GmbH */ 42 43 /* Support ThunderScan 4-bit RLE algorithm */ 44 #define THUNDER_SUPPORT 1 45 #undef THUNDER_SUPPORT /* PDFlib GmbH */ 46 47 /* Support Deflate compression */ 48 #define ZIP_SUPPORT 1 49 50 /* Support strip chopping (whether or not to convert single-strip uncompressed 51 images to mutiple strips of ~8Kb to reduce memory usage) */ 52 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP 53 54 /* Enable SubIFD tag (330) support */ 55 #define SUBIFD_SUPPORT 1 56 57 /* Treat extra sample as alpha (default enabled). The RGBA interface will 58 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many 59 packages produce RGBA files but don't mark the alpha properly. */ 60 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 61 62 /* Pick up YCbCr subsampling info from the JPEG data stream to support files 63 lacking the tag (default enabled). */ 64 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 65 66 /* 67 * Feature support definitions. 68 * XXX: These macros are obsoleted. Don't use them in your apps! 69 * Macros stays here for backward compatibility and should be always defined. 70 */ 71 #define COLORIMETRY_SUPPORT 72 #define YCBCR_SUPPORT 73 #define CMYK_SUPPORT 74 #define ICC_SUPPORT 75 #define PHOTOSHOP_SUPPORT 76 #define IPTC_SUPPORT 77 78 #endif /* _TIFFCONF_ */ 79