As PNG pretty much the most used lossless image format these days, so is the importance and usage of PNG Metadata has grown.
Please add support for viewing, editing, and saving PNG Metadata. Included is an example image containing metadata critical to the context of the image.
Add support for metadata in PNG/APNG images
Moderators: XnTriq, helmut, xnview
-
- Posts: 14
- Joined: Sun May 25, 2014 11:51 pm
Add support for metadata in PNG/APNG images
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 44451
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Add support for metadata in PNG/APNG images
sorry but there is no EXIF/XMP/IPTC metadata in this file
Pierre.
-
- Posts: 24
- Joined: Thu Jan 17, 2013 2:28 pm
Re: Add support for metadata in PNG/APNG images
PNG format use a native metadata format, there are called metadata chunks.
http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html
The PNG in the first post has metadata specified as tEXT chunk
http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html
The PNG in the first post has metadata specified as tEXT chunk
-
- Posts: 1
- Joined: Tue Feb 28, 2023 6:14 pm
Re: Add support for metadata in PNG/APNG images
This issue is related to
viewtopic.php?f=82&t=42770&p=174462&hilit=chunk#p174462
as well. Also, the properties window in the browser is already able to display the mentioned data. That points to some kind of (rudimentary) capabilities in that direction already.
Also worth mentioning: The above image is made with stable diffusion, so while this chunk seems to have an internal structure that's going to be different depending on the actual content of the text chunk.
With that in mind, some basic parsing/scripting capabilites would be nice for View/fullscreen mode information overlay.
viewtopic.php?f=82&t=42770&p=174462&hilit=chunk#p174462
as well. Also, the properties window in the browser is already able to display the mentioned data. That points to some kind of (rudimentary) capabilities in that direction already.
Also worth mentioning: The above image is made with stable diffusion, so while this chunk seems to have an internal structure that's going to be different depending on the actual content of the text chunk.
With that in mind, some basic parsing/scripting capabilites would be nice for View/fullscreen mode information overlay.
-
- Posts: 1
- Joined: Wed Mar 22, 2023 3:33 pm
Re: Add support for metadata in PNG/APNG images
Hi,
Is it possible to add a function to edit these PNG metadata "Chunks"? It would be quite useful to be able to edit this via the properties panel that already shows the metadata.
My current workflow for editing the metadata is via python which is a tad more cumbersome
Is it possible to add a function to edit these PNG metadata "Chunks"? It would be quite useful to be able to edit this via the properties panel that already shows the metadata.
My current workflow for editing the metadata is via python which is a tad more cumbersome
-
- Moderator & Librarian
- Posts: 6366
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Add support for metadata in PNG/APNG images
I did a few tests and posted the results.
XnView MP was the only program capable of saving metadata as eXIf chunk
XnView MP was the only program capable of saving metadata as eXIf chunk
Related: EXIF support in PNGhttps://en.wikipedia.org/wiki/PNG#JPEG wrote:While the PNG specification does not explicitly include a standard for embedding Exif image data from sources such as digital cameras, the preferred method for embedding EXIF data in a PNG is to use the non-critical ancillary chunk label eXIf.