1 /* minrdpngconf.h: headers to make a minimal png-read-only library 2 * 3 * Copyright (c) 2007, 2009 Glenn Randers-Pehrson 4 * 5 * This code is released under the libpng license. 6 * For conditions of distribution and use, see the disclaimer 7 * and license in png.h 8 * 9 * Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson 10 */ 11 12 #ifndef MINRDPNGCONF_H 13 #define MINRDPNGCONF_H 14 15 #ifdef NJET 16 /* No 16-bit support beyond reading with strip_16 */ 17 #endif 18 19 #define PNG_NO_GLOBAL_ARRAYS 20 21 #define PNG_NO_WARNINGS 22 #define png_warning(s1,s2) "" 23 #define png_chunk_warning(s1,s2) "" 24 #define PNG_NO_ERROR_TEXT 25 #define png_error(s1,s2) png_err(s1) 26 #define png_chunk_error(s1,s2) png_err(s1) 27 28 #define PNG_NO_ASSEMBLER_CODE 29 #define PNG_NO_OPTIMIZED_CODE 30 #define PNG_NO_READ_GAMMA 31 #define PNG_NO_READ_BACKGROUND 32 #define PNG_NO_READ_DITHER 33 #define PNG_NO_READ_INVERT 34 #define PNG_NO_READ_SHIFT 35 #define PNG_NO_READ_PACK 36 #define PNG_NO_READ_PACKSWAP 37 #define PNG_NO_READ_FILLER 38 #define PNG_NO_READ_SWAP 39 #define PNG_NO_READ_SWAP_ALPHA 40 #define PNG_NO_READ_INVERT_ALPHA 41 #define PNG_NO_READ_RGB_TO_GRAY 42 #define PNG_NO_READ_USER_TRANSFORM 43 #define PNG_NO_READ_bKGD 44 #define PNG_NO_READ_cHRM 45 #define PNG_NO_READ_gAMA 46 #define PNG_NO_READ_hIST 47 #define PNG_NO_READ_iCCP 48 #define PNG_NO_READ_pCAL 49 #define PNG_NO_READ_pHYs 50 #define PNG_NO_READ_sBIT 51 #define PNG_NO_READ_sCAL 52 #define PNG_NO_READ_sPLT 53 #define PNG_NO_READ_sRGB 54 #define PNG_NO_READ_TEXT 55 #define PNG_NO_READ_tIME 56 #define PNG_NO_READ_UNKNOWN_CHUNKS 57 #define PNG_NO_READ_USER_CHUNKS 58 #define PNG_NO_READ_EMPTY_PLTE 59 #define PNG_NO_READ_OPT_PLTE 60 #define PNG_NO_READ_STRIP_ALPHA 61 #define PNG_NO_READ_oFFs 62 #define PNG_NO_WARN_UNINITIALIZED_ROW 63 64 #define PNG_NO_WRITE_SUPPORTED 65 66 #define PNG_NO_INFO_IMAGE 67 #define PNG_NO_USER_MEM 68 #define PNG_NO_FIXED_POINT_SUPPORTED 69 #define PNG_NO_MNG_FEATURES 70 #define PNG_NO_USER_TRANSFORM_PTR 71 #define PNG_NO_HANDLE_AS_UNKNOWN 72 #define PNG_NO_CONSOLE_IO 73 #define PNG_NO_ZALLOC_ZERO 74 #define PNG_NO_ERROR_NUMBERS 75 #define PNG_NO_EASY_ACCESS 76 #define PNG_NO_PROGRESSIVE_READ 77 78 #endif /* MINRDPNGCONF_H */ 79