|
|
@ -1866,7 +1866,7 @@ PNG_EXPORT(218, png_byte, png_get_current_pass_number, (png_const_structrp));
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* The integer return from the callback function is interpreted thus:
|
|
|
|
* The integer return from the callback function is interpreted thus:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* negative: An error occured, png_chunk_error will be called.
|
|
|
|
* negative: An error occurred, png_chunk_error will be called.
|
|
|
|
* zero: The chunk was not handled, the chunk will be saved. A critical
|
|
|
|
* zero: The chunk was not handled, the chunk will be saved. A critical
|
|
|
|
* chunk will cause an error at this point unless it is to be saved.
|
|
|
|
* chunk will cause an error at this point unless it is to be saved.
|
|
|
|
* positive: The chunk was handled, libpng will ignore/discard it.
|
|
|
|
* positive: The chunk was handled, libpng will ignore/discard it.
|
|
|
@ -2804,7 +2804,7 @@ PNG_EXPORT(207, void, png_save_uint_16, (png_bytep buf, unsigned int i));
|
|
|
|
* The simplified API hides the details of both libpng and the PNG file format
|
|
|
|
* The simplified API hides the details of both libpng and the PNG file format
|
|
|
|
* itself. It allows PNG files to be read into a very limited number of
|
|
|
|
* itself. It allows PNG files to be read into a very limited number of
|
|
|
|
* in-memory bitmap formats or to be written from the same formats. If these
|
|
|
|
* in-memory bitmap formats or to be written from the same formats. If these
|
|
|
|
* formats do not accomodate your needs then you can, and should, use the more
|
|
|
|
* formats do not accommodate your needs then you can, and should, use the more
|
|
|
|
* sophisticated APIs above - these support a wide variety of in-memory formats
|
|
|
|
* sophisticated APIs above - these support a wide variety of in-memory formats
|
|
|
|
* and a wide variety of sophisticated transformations to those formats as well
|
|
|
|
* and a wide variety of sophisticated transformations to those formats as well
|
|
|
|
* as a wide variety of APIs to manipulate ancillary information.
|
|
|
|
* as a wide variety of APIs to manipulate ancillary information.
|
|
|
|