2007-07-14 15:43:24 -04:00
|
|
|
/* minwrpngconf.h: headers to make a minimal png-write-only library
|
2009-06-28 21:26:26 -04:00
|
|
|
*
|
|
|
|
* Copyright (c) 2007, 2009 Glenn Randers-Pehrson
|
|
|
|
*
|
2009-11-08 17:52:54 -05:00
|
|
|
* This code is released under the libpng license.
|
2009-06-28 21:26:26 -04:00
|
|
|
* For conditions of distribution and use, see the disclaimer
|
|
|
|
* and license in png.h
|
|
|
|
*
|
2007-07-14 15:43:24 -04:00
|
|
|
* Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MINWRPNGCONF_H
|
|
|
|
#define MINWRPNGCONF_H
|
|
|
|
|
|
|
|
#define PNG_NO_READ_SUPPORTED
|
|
|
|
|
|
|
|
#define PNG_NO_WARNINGS
|
|
|
|
#define png_warning(s1,s2) ""
|
|
|
|
#define png_chunk_warning(s1,s2) ""
|
2007-08-19 23:50:31 -04:00
|
|
|
#define PNG_NO_ERROR_TEXT
|
|
|
|
#define png_error(s1,s2) png_err(s1)
|
|
|
|
#define png_chunk_error(s1,s2) png_err(s1)
|
2007-07-14 15:43:24 -04:00
|
|
|
|
|
|
|
#define PNG_NO_WRITE_BACKGROUND
|
2010-04-26 23:40:56 -04:00
|
|
|
#define PNG_NO_WRITE_BGR
|
2007-07-14 15:43:24 -04:00
|
|
|
#define PNG_NO_WRITE_GAMMA
|
2010-04-16 08:38:15 -04:00
|
|
|
#define PNG_NO_WRITE_QUANTIZE
|
2007-07-14 15:43:24 -04:00
|
|
|
#define PNG_NO_WRITE_INVERT
|
|
|
|
#define PNG_NO_WRITE_SHIFT
|
|
|
|
#define PNG_NO_WRITE_PACK
|
|
|
|
#define PNG_NO_WRITE_PACKSWAP
|
|
|
|
#define PNG_NO_WRITE_FILLER
|
2009-06-02 07:50:00 -04:00
|
|
|
#define PNG_NO_WRITE_SWAP
|
2007-07-14 15:43:24 -04:00
|
|
|
#define PNG_NO_WRITE_SWAP_ALPHA
|
|
|
|
#define PNG_NO_WRITE_INVERT_ALPHA
|
|
|
|
#define PNG_NO_WRITE_RGB_TO_GRAY
|
|
|
|
#define PNG_NO_WRITE_USER_TRANSFORM
|
|
|
|
#define PNG_NO_WRITE_bKGD
|
|
|
|
#define PNG_NO_WRITE_cHRM
|
|
|
|
#define PNG_NO_WRITE_gAMA
|
|
|
|
#define PNG_NO_WRITE_hIST
|
|
|
|
#define PNG_NO_WRITE_iCCP
|
|
|
|
#define PNG_NO_WRITE_oFFs
|
|
|
|
#define PNG_NO_WRITE_pCAL
|
|
|
|
#define PNG_NO_WRITE_pHYs
|
|
|
|
#define PNG_NO_WRITE_sBIT
|
|
|
|
#define PNG_NO_WRITE_sCAL
|
|
|
|
#define PNG_NO_WRITE_sPLT
|
2009-05-18 15:46:35 -04:00
|
|
|
#define PNG_NO_WRITE_sRGB
|
2007-07-14 15:43:24 -04:00
|
|
|
#define PNG_NO_WRITE_TEXT
|
|
|
|
#define PNG_NO_WRITE_tIME
|
|
|
|
#define PNG_NO_WRITE_UNKNOWN_CHUNKS
|
|
|
|
#define PNG_NO_WRITE_USER_CHUNKS
|
|
|
|
#define PNG_NO_WRITE_EMPTY_PLTE
|
|
|
|
#define PNG_NO_WRITE_OPT_PLTE
|
|
|
|
#define PNG_NO_WRITE_FILTER
|
|
|
|
#define PNG_NO_WRITE_WEIGHTED_FILTER
|
2007-08-29 23:31:46 -04:00
|
|
|
#define PNG_NO_WRITE_INTERLACING_SUPPORTED
|
2009-03-21 09:10:28 -04:00
|
|
|
#define PNG_NO_WRITE_FLUSH
|
2007-07-14 15:43:24 -04:00
|
|
|
|
|
|
|
#define PNG_NO_INFO_IMAGE
|
2010-04-26 23:40:56 -04:00
|
|
|
#define PNG_NO_IO_STATE
|
2007-07-14 15:43:24 -04:00
|
|
|
#define PNG_NO_USER_MEM
|
|
|
|
#define PNG_NO_FIXED_POINT_SUPPORTED
|
|
|
|
#define PNG_NO_MNG_FEATURES
|
|
|
|
#define PNG_NO_USER_TRANSFORM_PTR
|
|
|
|
#define PNG_NO_HANDLE_AS_UNKNOWN
|
|
|
|
#define PNG_NO_CONSOLE_IO
|
|
|
|
#define PNG_NO_ZALLOC_ZERO
|
|
|
|
#define PNG_NO_ERROR_NUMBERS
|
|
|
|
#define PNG_NO_EASY_ACCESS
|
2010-02-06 13:15:07 -05:00
|
|
|
#define PNG_NO_USER_LIMITS
|
|
|
|
#define PNG_NO_SET_USER_LIMITS
|
2010-04-26 23:40:56 -04:00
|
|
|
#define PNG_NO_TIME_RFC1143
|
2007-07-14 15:43:24 -04:00
|
|
|
|
|
|
|
#endif /* MINWRPNGCONF_H */
|