1/* minwrpngconf.h: headers to make a minimal png-write-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 MINWRPNGCONF_H 13#define MINWRPNGCONF_H 14 15#define PNG_NO_READ_SUPPORTED 16 17#define PNG_NO_WARNINGS 18#define png_warning(s1,s2) "" 19#define png_chunk_warning(s1,s2) "" 20#define PNG_NO_ERROR_TEXT 21#define png_error(s1,s2) png_err(s1) 22#define png_chunk_error(s1,s2) png_err(s1) 23 24#define PNG_NO_WRITE_BACKGROUND 25#define PNG_NO_WRITE_BGR 26#define PNG_NO_WRITE_GAMMA 27#define PNG_NO_WRITE_QUANTIZE 28#define PNG_NO_WRITE_INVERT 29#define PNG_NO_WRITE_SHIFT 30#define PNG_NO_WRITE_PACK 31#define PNG_NO_WRITE_PACKSWAP 32#define PNG_NO_WRITE_FILLER 33#define PNG_NO_WRITE_SWAP 34#define PNG_NO_WRITE_SWAP_ALPHA 35#define PNG_NO_WRITE_INVERT_ALPHA 36#define PNG_NO_WRITE_RGB_TO_GRAY 37#define PNG_NO_WRITE_USER_TRANSFORM 38#define PNG_NO_WRITE_bKGD 39#define PNG_NO_WRITE_cHRM 40#define PNG_NO_WRITE_gAMA 41#define PNG_NO_WRITE_hIST 42#define PNG_NO_WRITE_iCCP 43#define PNG_NO_WRITE_oFFs 44#define PNG_NO_WRITE_pCAL 45#define PNG_NO_WRITE_pHYs 46#define PNG_NO_WRITE_sBIT 47#define PNG_NO_WRITE_sCAL 48#define PNG_NO_WRITE_sPLT 49#define PNG_NO_WRITE_sRGB 50#define PNG_NO_WRITE_TEXT 51#define PNG_NO_WRITE_tIME 52#define PNG_NO_WRITE_UNKNOWN_CHUNKS 53#define PNG_NO_WRITE_USER_CHUNKS 54#define PNG_NO_WRITE_EMPTY_PLTE 55#define PNG_NO_WRITE_OPT_PLTE 56#define PNG_NO_WRITE_FILTER 57#define PNG_NO_WRITE_WEIGHTED_FILTER 58#define PNG_NO_WRITE_INTERLACING_SUPPORTED 59#define PNG_NO_WRITE_FLUSH 60 61#define PNG_NO_INFO_IMAGE 62#define PNG_NO_IO_STATE 63#define PNG_NO_USER_MEM 64#define PNG_NO_FIXED_POINT_SUPPORTED 65#define PNG_NO_MNG_FEATURES 66#define PNG_NO_USER_TRANSFORM_PTR 67#define PNG_NO_HANDLE_AS_UNKNOWN 68#define PNG_NO_CONSOLE_IO 69#define PNG_NO_ZALLOC_ZERO 70#define PNG_NO_ERROR_NUMBERS 71#define PNG_NO_EASY_ACCESS 72#define PNG_NO_USER_LIMITS 73#define PNG_NO_SET_USER_LIMITS 74#define PNG_NO_TIME_RFC1143 75 76#endif /* MINWRPNGCONF_H */ 77