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

后端 未结 2 1542
生来不讨喜
生来不讨喜 2020-12-24 11:38

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 th

相关标签:
2条回答
  • 2020-12-24 12:23

    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!

    0 讨论(0)
  • 2020-12-24 12:27

    PNG has no EXIF chunk. Thus EXIF metadata will get lost if you convert from JPEG into PNG.

    However Adobe has made XMP for storing all kinds of metadata. So that you can convert between JPEG and PNG while preserving metadata.

    0 讨论(0)
提交回复
热议问题