[devel] Corrected const_png_ in png.h to png_const_ to avoid polluting

the namespace.  Added png_get_current_row_number and
 png_get_current_pass_number for the
 benefit of the user transform callback.
 Added png_process_data_pause and png_process_data_skip for the benefit of
 progressive readers that need to stop data processing or want to optimize
 skipping of unread data (e.g. if the reader marks a chunk to be skipped.)
This commit is contained in:
John Bowler
2011-01-22 17:36:34 -06:00
committed by Glenn Randers-Pehrson
parent 155ce40218
commit 0a5c9c02fa
14 changed files with 386 additions and 231 deletions

View File

@@ -155,6 +155,7 @@
#define PNG_WRITE_iTXt_SUPPORTED
#define PNG_oFFs_SUPPORTED
#define PNG_USER_TRANSFORM_PTR_SUPPORTED
#define PNG_USER_TRANSFORM_INFO_SUPPORTED
#define PNG_hIST_SUPPORTED
#define PNG_iCCP_SUPPORTED
#define PNG_sRGB_SUPPORTED