[devel] 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:48:39 -05:00
parent cd01d222fb
commit d026f9cce6
5 changed files with 17 additions and 6 deletions

View File

@@ -23,6 +23,7 @@
#define PNG_NO_ERROR_TEXT
#define PNG_NO_READ_INT_FUNCTIONS
#define PNG_NO_READ_BGR
#define PNG_NO_READ_GAMMA
#define PNG_NO_READ_BACKGROUND
#define PNG_NO_READ_QUANTIZE
@@ -59,6 +60,7 @@
#define PNG_NO_WRITE_SUPPORTED
#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
@@ -71,6 +73,7 @@
#define PNG_NO_PROGRESSIVE_READ
#define PNG_NO_USER_LIMITS
#define PNG_NO_SET_USER_LIMITS
#define PNG_NO_CONVERT_TIME_RFC1123
#define PNG_NO_TIME_RFC1123
#endif /* MINRDPNGCONF_H */

View File

@@ -21,6 +21,7 @@
#define PNG_NO_ERROR_TEXT
#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
@@ -57,6 +58,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
@@ -68,6 +70,6 @@
#define PNG_NO_EASY_ACCESS
#define PNG_NO_USER_LIMITS
#define PNG_NO_SET_USER_LIMITS
#define PNG_NO_CONVERT_TIME_RFC1123
#define PNG_NO_TIME_RFC1123
#endif /* MINWRPNGCONF_H */

View File

@@ -19,6 +19,7 @@
#define PNG_NO_ERROR_TEXT
#define PNG_NO_READ_INT_FUNCTIONS
#define PNG_NO_READ_BGR
#define PNG_NO_READ_QUANTIZE
#define PNG_NO_READ_INVERT
#define PNG_NO_READ_SHIFT
@@ -50,6 +51,7 @@
#define PNG_NO_WRITE_SUPPORTED
#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
@@ -61,6 +63,6 @@
#define PNG_NO_EASY_ACCESS
#define PNG_NO_USER_LIMITS
#define PNG_NO_SET_USER_LIMITS
#define PNG_NO_CONVERT_TIME_RFC1123
#define PNG_NO_TIME_RFC1123
#endif /* MINPRDPNGCONF_H */