jpayne@69: /* libtiff/tiffconf.h. Generated from tiffconf.h.in by configure. */ jpayne@69: /* jpayne@69: Configuration defines for installed libtiff. jpayne@69: This file maintained for backward compatibility. Do not use definitions jpayne@69: from this file in your programs. jpayne@69: */ jpayne@69: jpayne@69: #ifndef _TIFFCONF_ jpayne@69: #define _TIFFCONF_ jpayne@69: jpayne@69: jpayne@69: #include jpayne@69: #include jpayne@69: #include jpayne@69: jpayne@69: jpayne@69: /* Signed 16-bit type */ jpayne@69: /* #undef TIFF_INT16_T */ jpayne@69: jpayne@69: /* Signed 32-bit type */ jpayne@69: /* #undef TIFF_INT32_T */ jpayne@69: jpayne@69: /* Signed 64-bit type */ jpayne@69: /* #undef TIFF_INT64_T */ jpayne@69: jpayne@69: /* Signed 8-bit type */ jpayne@69: /* #undef TIFF_INT8_T */ jpayne@69: jpayne@69: /* Unsigned 16-bit type */ jpayne@69: /* #undef TIFF_UINT16_T */ jpayne@69: jpayne@69: /* Unsigned 32-bit type */ jpayne@69: /* #undef TIFF_UINT32_T */ jpayne@69: jpayne@69: /* Unsigned 64-bit type */ jpayne@69: /* #undef TIFF_UINT64_T */ jpayne@69: jpayne@69: /* Unsigned 8-bit type */ jpayne@69: /* #undef TIFF_UINT8_T */ jpayne@69: jpayne@69: /* Signed size type */ jpayne@69: #define TIFF_SSIZE_T int64_t jpayne@69: jpayne@69: /* Compatibility stuff. */ jpayne@69: jpayne@69: /* Define as 0 or 1 according to the floating point format supported by the jpayne@69: machine */ jpayne@69: #define HAVE_IEEEFP 1 jpayne@69: jpayne@69: /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ jpayne@69: #define HOST_FILLORDER FILLORDER_LSB2MSB jpayne@69: jpayne@69: /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian jpayne@69: (Intel) */ jpayne@69: #define HOST_BIGENDIAN 0 jpayne@69: jpayne@69: /* Support CCITT Group 3 & 4 algorithms */ jpayne@69: #define CCITT_SUPPORT 1 jpayne@69: jpayne@69: /* Support JPEG compression (requires IJG JPEG library) */ jpayne@69: #define JPEG_SUPPORT 1 jpayne@69: jpayne@69: /* Support JBIG compression (requires JBIG-KIT library) */ jpayne@69: /* #undef JBIG_SUPPORT */ jpayne@69: jpayne@69: /* Support LERC compression */ jpayne@69: #define LERC_SUPPORT 1 jpayne@69: jpayne@69: /* Support LogLuv high dynamic range encoding */ jpayne@69: #define LOGLUV_SUPPORT 1 jpayne@69: jpayne@69: /* Support LZW algorithm */ jpayne@69: #define LZW_SUPPORT 1 jpayne@69: jpayne@69: /* Support NeXT 2-bit RLE algorithm */ jpayne@69: #define NEXT_SUPPORT 1 jpayne@69: jpayne@69: /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation jpayne@69: fails with unpatched IJG JPEG library) */ jpayne@69: #define OJPEG_SUPPORT 1 jpayne@69: jpayne@69: /* Support Macintosh PackBits algorithm */ jpayne@69: #define PACKBITS_SUPPORT 1 jpayne@69: jpayne@69: /* Support Pixar log-format algorithm (requires Zlib) */ jpayne@69: #define PIXARLOG_SUPPORT 1 jpayne@69: jpayne@69: /* Support ThunderScan 4-bit RLE algorithm */ jpayne@69: #define THUNDER_SUPPORT 1 jpayne@69: jpayne@69: /* Support Deflate compression */ jpayne@69: #define ZIP_SUPPORT 1 jpayne@69: jpayne@69: /* Support libdeflate enhanced compression */ jpayne@69: #define LIBDEFLATE_SUPPORT 1 jpayne@69: jpayne@69: /* Support strip chopping (whether or not to convert single-strip uncompressed jpayne@69: images to multiple strips of ~8Kb to reduce memory usage) */ jpayne@69: #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP jpayne@69: jpayne@69: /* Enable SubIFD tag (330) support */ jpayne@69: #define SUBIFD_SUPPORT 1 jpayne@69: jpayne@69: /* Treat extra sample as alpha (default enabled). The RGBA interface will jpayne@69: treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many jpayne@69: packages produce RGBA files but don't mark the alpha properly. */ jpayne@69: #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 jpayne@69: jpayne@69: /* Pick up YCbCr subsampling info from the JPEG data stream to support files jpayne@69: lacking the tag (default enabled). */ jpayne@69: #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 jpayne@69: jpayne@69: /* Support MS MDI magic number files as TIFF */ jpayne@69: #define MDI_SUPPORT 1 jpayne@69: jpayne@69: /* jpayne@69: * Feature support definitions. jpayne@69: * XXX: These macros are obsoleted. Don't use them in your apps! jpayne@69: * Macros stays here for backward compatibility and should be always defined. jpayne@69: */ jpayne@69: #define COLORIMETRY_SUPPORT jpayne@69: #define YCBCR_SUPPORT jpayne@69: #define CMYK_SUPPORT jpayne@69: #define ICC_SUPPORT jpayne@69: #define PHOTOSHOP_SUPPORT jpayne@69: #define IPTC_SUPPORT jpayne@69: jpayne@69: #endif /* _TIFFCONF_ */