Aug-01-2019, 07:54 AM
(This post was last modified: Aug-01-2019, 07:55 AM by Gribouillis.)
For such a problem, I would look into pypi to find packages related to png or to metadata. For example you have this package ipng. In the source code there are interesting considerations about the contents of the png format and you see that
zlib.decompress()
is involved in retrieving the metadata.