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?
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.
PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without an alpha channel for transparency), and full-color non-palette-based RGB or RGBA images.
The PNG standard does not contain Exif data.
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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With