| LSB Graphics Extensions Specification | ||
|---|---|---|
| <<< Previous | Next >>> | |
This interface shall retrieve the unknown chunks from a PNG file.
The parameter png_ptr shall specify the PNG file.
The parameter info_ptr shall specify the PNG info structure.
The parameter unknowns shall specify an array of png_unknown_chunk structures containing the unknown chunks. The position of a structure in the array shall correspond to the order in which png_set_unknown_chunks() inserted its chunk into the PNG file, or in which it was read.
The png_unknown_chunkpp structure shall contain the following members.
| name | the name of the chunk | |
| data | the data of the chunk | |
| size | the size of the chunk's data | |
| location | the position of the chunk in the PNG file |
On success, this interface shall return the number of unknown chunks obtained.
On failure, this interface shall return 0.
| <<< Previous | Home | Next >>> |
| png_get_text | Up | png_get_user_chunk_ptr |