[master] Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in

contrib/pngminim/decoder/pngusr.h to make a smaller decoder application.
This commit is contained in:
Glenn Randers-Pehrson
2010-04-26 22:40:56 -05:00
parent 5913dd10f1
commit 7a1f214166
5 changed files with 19 additions and 3 deletions

View File

@@ -22,6 +22,7 @@
#define png_chunk_error(s1,s2) png_err(s1)
#define PNG_NO_WRITE_BACKGROUND
#define PNG_NO_WRITE_BGR
#define PNG_NO_WRITE_GAMMA
#define PNG_NO_WRITE_QUANTIZE
#define PNG_NO_WRITE_INVERT
@@ -58,6 +59,7 @@
#define PNG_NO_WRITE_FLUSH
#define PNG_NO_INFO_IMAGE
#define PNG_NO_IO_STATE
#define PNG_NO_USER_MEM
#define PNG_NO_FIXED_POINT_SUPPORTED
#define PNG_NO_MNG_FEATURES
@@ -69,5 +71,6 @@
#define PNG_NO_EASY_ACCESS
#define PNG_NO_USER_LIMITS
#define PNG_NO_SET_USER_LIMITS
#define PNG_NO_TIME_RFC1143
#endif /* MINWRPNGCONF_H */