1/* libtiff/tiffconf.h.  Generated from tiffconf.h.in 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/* Define to 1 if the system has the type `int16'. */
12#define HAVE_INT16 1
13
14/* Define to 1 if the system has the type `int32'. */
15#define HAVE_INT32 1
16
17/* Define to 1 if the system has the type `int8'. */
18#define HAVE_INT8 1
19
20/* The size of a `int', as computed by sizeof. */
21#define SIZEOF_INT 4
22
23/* The size of a `long', as computed by sizeof. */
24#define SIZEOF_LONG 4
25
26/* Compatibility stuff. */
27
28/* Define as 0 or 1 according to the floating point format suported by the
29   machine */
30#define HAVE_IEEEFP 1
31
32/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
33#define HOST_FILLORDER FILLORDER_LSB2MSB
34
35/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
36   (Intel) */
37#define HOST_BIGENDIAN 0
38
39/* Support CCITT Group 3 & 4 algorithms */
40#define CCITT_SUPPORT 1
41
42/* Support JPEG compression (requires IJG JPEG library) */
43#define JPEG_SUPPORT 1
44
45/* Support JBIG compression (requires JBIG-KIT library) */
46/* #undef JBIG_SUPPORT */
47
48/* Support LogLuv high dynamic range encoding */
49#define LOGLUV_SUPPORT 1
50
51/* Support LZW algorithm */
52#define LZW_SUPPORT 1
53
54/* Support NeXT 2-bit RLE algorithm */
55#define NEXT_SUPPORT 1
56
57/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
58   fails with unpatched IJG JPEG library) */
59#define OJPEG_SUPPORT 1
60
61/* Support Macintosh PackBits algorithm */
62#define PACKBITS_SUPPORT 1
63
64/* Support Pixar log-format algorithm (requires Zlib) */
65#define PIXARLOG_SUPPORT 1
66
67/* Support ThunderScan 4-bit RLE algorithm */
68#define THUNDER_SUPPORT 1
69
70/* Support Deflate compression */
71#define ZIP_SUPPORT 1
72
73/* Support strip chopping (whether or not to convert single-strip uncompressed
74   images to mutiple strips of ~8Kb to reduce memory usage) */
75#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
76
77/* Enable SubIFD tag (330) support */
78#define SUBIFD_SUPPORT 1
79
80/* Treat extra sample as alpha (default enabled). The RGBA interface will
81   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
82   packages produce RGBA files but don't mark the alpha properly. */
83#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
84
85/* Pick up YCbCr subsampling info from the JPEG data stream to support files
86   lacking the tag (default enabled). */
87#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
88
89/* Support MS MDI magic number files as TIFF */
90#define MDI_SUPPORT 1
91
92/*
93 * Feature support definitions.
94 * XXX: These macros are obsoleted. Don't use them in your apps!
95 * Macros stays here for backward compatibility and should be always defined.
96 */
97#define COLORIMETRY_SUPPORT
98#define YCBCR_SUPPORT
99#define CMYK_SUPPORT
100#define ICC_SUPPORT
101#define PHOTOSHOP_SUPPORT
102#define IPTC_SUPPORT
103
104#include <SupportDefs.h>
105	// Use Be's typedefs for [u]int# instead of having libtiff define them.
106	// This resolves the problem of Be's types being redefined by libtiff
107	// without breaking or making mass changes to libtiff.
108
109
110#endif /* _TIFFCONF_ */
111