1/* 2 You can use one or more of the following defines to 3 reduce the size of the compiled library. Define the 4 SKIPCANVAS macros for any canvas configurations that 5 your application doesn't use. Define the SKIPCHUNK 6 macros for any chunks that your application doesn't 7 process. Define MNG_OPTIMIZE_FOOTPRINT to choose 8 smaller code size over faster execution and less memory 9 usage. These macros became available in version 1.0.6. 10*/ 11 12/* eliminate unused features from libmng */ 13#define MNG_OPTIMIZE_FOOTPRINT 14#define MNG_OPTIMIZE_OBJCLEANUP 15#define MNG_OPTIMIZE_CHUNKINITFREE 16#define MNG_OPTIMIZE_CHUNKASSIGN 17#define MNG_OPTIMIZE_CHUNKREADER 18 19#define MNG_SKIPCANVAS_ABGR8 20#define MNG_SKIPCANVAS_ARGB8 21#define MNG_SKIPCANVAS_BGR8 22#define MNG_SKIPCANVAS_BGRA8 23#define MNG_SKIPCANVAS_BGRA8_PM 24#define MNG_SKIPCANVAS_BGRX8 25#define MNG_SKIPCANVAS_RGBA8 26#define MNG_SKIPCANVAS_BGR565 27#define MNG_SKIPCANVAS_RGB565 28#define MNG_SKIPCANVAS_BGRA565 29#define MNG_SKIPCANVAS_RGBA565 30 31#define MNG_SKIPCHUNK_iCCP 32#define MNG_SKIPCHUNK_tEXt 33#define MNG_SKIPCHUNK_zTXt 34#define MNG_SKIPCHUNK_iTXt 35#define MNG_SKIPCHUNK_bKGD 36#define MNG_SKIPCHUNK_pHYs 37#define MNG_SKIPCHUNK_sBIT 38#define MNG_SKIPCHUNK_sPLT 39#define MNG_SKIPCHUNK_hIST 40#define MNG_SKIPCHUNK_tIME 41#define MNG_SKIPCHUNK_eXPI 42#define MNG_SKIPCHUNK_fPRI 43#define MNG_SKIPCHUNK_nEED 44#define MNG_SKIPCHUNK_pHYg 45 46 47