Does PNG support metadata fields like Author, Camera Model, etc?

techno picture techno · Nov 13, 2011 · Viewed 49.2k times · Source

When I click on the image>property>details of a PNG image in Windows many fields are missing compared to a JPEG file. Are these fields supported in PNG? If so, how would they be added in a PNG file programmatically?

Answer

Kae Verens picture Kae Verens · Nov 13, 2011

section 11.3.4.2 of the PNG spec gives a list of pre-defined meta tags (keywords)

http://www.w3.org/TR/PNG/#11textinfo

you can add as many other meta tags/fields as you would like.

as for how, programmatically, that depends on the language you're using!