2007-07-14 19:43:24 +00:00
|
|
|
/* minrdpngconf.h: headers to make a minimal png-read-only library
|
2009-06-29 01:26:26 +00:00
|
|
|
*
|
|
|
|
* Copyright (c) 2007, 2009 Glenn Randers-Pehrson
|
|
|
|
*
|
|
|
|
* This code is released under the zlib/libpng license.
|
|
|
|
* For conditions of distribution and use, see the disclaimer
|
|
|
|
* and license in png.h
|
|
|
|
*
|
2007-07-14 19:43:24 +00:00
|
|
|
* Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MINRDPNGCONF_H
|
|
|
|
#define MINRDPNGCONF_H
|
|
|
|
|
2009-03-28 00:22:39 +00:00
|
|
|
#ifdef NJET
|
|
|
|
/* No 16-bit support beyond reading with strip_16 */
|
|
|
|
#endif
|
|
|
|
|
2007-07-14 19:43:24 +00:00
|
|
|
#define PNG_NO_GLOBAL_ARRAYS
|
|
|
|
|
|
|
|
#define PNG_NO_WARNINGS
|
|
|
|
#define png_warning(s1,s2) ""
|
|
|
|
#define png_chunk_warning(s1,s2) ""
|
2007-08-20 03:50:31 +00: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 19:43:24 +00:00
|
|
|
|
2007-07-31 17:43:32 +00:00
|
|
|
#define PNG_NO_ASSEMBLER_CODE
|
2007-07-14 19:43:24 +00:00
|
|
|
#define PNG_NO_OPTIMIZED_CODE
|
|
|
|
#define PNG_NO_READ_GAMMA
|
|
|
|
#define PNG_NO_READ_BACKGROUND
|
|
|
|
#define PNG_NO_READ_DITHER
|
|
|
|
#define PNG_NO_READ_INVERT
|
|
|
|
#define PNG_NO_READ_SHIFT
|
|
|
|
#define PNG_NO_READ_PACK
|
|
|
|
#define PNG_NO_READ_PACKSWAP
|
|
|
|
#define PNG_NO_READ_FILLER
|
2009-06-02 11:50:00 +00:00
|
|
|
#define PNG_NO_READ_SWAP
|
2007-07-14 19:43:24 +00:00
|
|
|
#define PNG_NO_READ_SWAP_ALPHA
|
|
|
|
#define PNG_NO_READ_INVERT_ALPHA
|
|
|
|
#define PNG_NO_READ_RGB_TO_GRAY
|
|
|
|
#define PNG_NO_READ_USER_TRANSFORM
|
|
|
|
#define PNG_NO_READ_bKGD
|
|
|
|
#define PNG_NO_READ_cHRM
|
|
|
|
#define PNG_NO_READ_gAMA
|
|
|
|
#define PNG_NO_READ_hIST
|
|
|
|
#define PNG_NO_READ_iCCP
|
|
|
|
#define PNG_NO_READ_pCAL
|
|
|
|
#define PNG_NO_READ_pHYs
|
|
|
|
#define PNG_NO_READ_sBIT
|
|
|
|
#define PNG_NO_READ_sCAL
|
|
|
|
#define PNG_NO_READ_sPLT
|
2009-05-18 19:46:35 +00:00
|
|
|
#define PNG_NO_READ_sRGB
|
2007-07-14 19:43:24 +00:00
|
|
|
#define PNG_NO_READ_TEXT
|
|
|
|
#define PNG_NO_READ_tIME
|
|
|
|
#define PNG_NO_READ_UNKNOWN_CHUNKS
|
|
|
|
#define PNG_NO_READ_USER_CHUNKS
|
|
|
|
#define PNG_NO_READ_EMPTY_PLTE
|
|
|
|
#define PNG_NO_READ_OPT_PLTE
|
|
|
|
#define PNG_NO_READ_STRIP_ALPHA
|
|
|
|
#define PNG_NO_READ_oFFs
|
2007-08-18 10:34:04 +00:00
|
|
|
#define PNG_NO_WARN_UNINITIALIZED_ROW
|
2007-07-14 19:43:24 +00:00
|
|
|
|
|
|
|
#define PNG_NO_WRITE_SUPPORTED
|
|
|
|
|
|
|
|
#define PNG_NO_INFO_IMAGE
|
|
|
|
#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
|
2007-07-15 03:48:22 +00:00
|
|
|
#define PNG_NO_PROGRESSIVE_READ
|
2007-07-14 19:43:24 +00:00
|
|
|
|
|
|
|
#endif /* MINRDPNGCONF_H */
|