source: liacs/MIR2010/SourceCode/cximage/ximacfg.h@ 232

Last change on this file since 232 was 95, checked in by Rick van der Zwet, 15 years ago

Bad boy, improper move of directory

File size: 1.8 KB
RevLine 
[95]1#if !defined(__ximaCFG_h)
2#define __ximaCFG_h
3
4/////////////////////////////////////////////////////////////////////////////
5// CxImage supported features
6#define CXIMAGE_SUPPORT_ALPHA 1
7#define CXIMAGE_SUPPORT_SELECTION 1
8#define CXIMAGE_SUPPORT_TRANSFORMATION 1
9#define CXIMAGE_SUPPORT_DSP 1
10#define CXIMAGE_SUPPORT_LAYERS 1
11#define CXIMAGE_SUPPORT_INTERPOLATION 1
12
13#define CXIMAGE_SUPPORT_DECODE 1
14#define CXIMAGE_SUPPORT_ENCODE 1 //<vho><T.Peck>
15#define CXIMAGE_SUPPORT_WINDOWS 1
16
17/////////////////////////////////////////////////////////////////////////////
18// CxImage supported formats
19#define CXIMAGE_SUPPORT_BMP 1
20#define CXIMAGE_SUPPORT_GIF 1
21#define CXIMAGE_SUPPORT_JPG 1
22#define CXIMAGE_SUPPORT_PNG 1
23#define CXIMAGE_SUPPORT_ICO 1
24#define CXIMAGE_SUPPORT_TIF 1
25#define CXIMAGE_SUPPORT_TGA 1
26#define CXIMAGE_SUPPORT_PCX 1
27#define CXIMAGE_SUPPORT_WBMP 1
28#define CXIMAGE_SUPPORT_WMF 1
29
30#define CXIMAGE_SUPPORT_JP2 0
31#define CXIMAGE_SUPPORT_JPC 0
32#define CXIMAGE_SUPPORT_PGX 0
33#define CXIMAGE_SUPPORT_PNM 0
34#define CXIMAGE_SUPPORT_RAS 0
35#define CXIMAGE_SUPPORT_JBG 0 // GPL'd see ../jbig/copying.txt & ../jbig/patents.htm
36#define CXIMAGE_SUPPORT_MNG 0
37#define CXIMAGE_SUPPORT_SKA 0
38#define CXIMAGE_SUPPORT_RAW 0
39
40/////////////////////////////////////////////////////////////////////////////
41#define CXIMAGE_MAX_MEMORY 268435456
42
43#define CXIMAGE_DEFAULT_DPI 96
44
45#define CXIMAGE_ERR_NOFILE "null file handler"
46#define CXIMAGE_ERR_NOIMAGE "null image!!!"
47
48#define CXIMAGE_SUPPORT_EXCEPTION_HANDLING 1
49
50/////////////////////////////////////////////////////////////////////////////
51//color to grey mapping <H. Muelner> <jurgene>
52//#define RGB2GRAY(r,g,b) (((b)*114 + (g)*587 + (r)*299)/1000)
53#define RGB2GRAY(r,g,b) (((b)*117 + (g)*601 + (r)*306) >> 10)
54
55#endif
Note: See TracBrowser for help on using the repository browser.