[MP 0.25 WinXP SP3] loss of metadata during export

XnView Multi Platform - XnView for multiple operating systems including Linux, MacOSX, Windows.

Moderators: helmut, Olivier_G, Dreamer, XnTriq, xnview

[MP 0.25 WinXP SP3] loss of metadata during export

Postby gaaned92 » Thu Mar 18, 2010 10:21 pm

when we export JPG file as PNG or TIF file, I think that metadata should be kept, in peculiar XMP and ICC profile.

If we export a JPG file containing ICC, XMP, IPTC and exif metadata :
- Exported Tif file contains only Exif and IPTC metadata
- exported PNG file contains no metadata.

As metadata management seems tricky, I am not sure of what should be kept but I think XMP metadata must remain in TIF and PNG file.

Can you confirm this point ?
André
gaaned92
 
Posts: 12
Joined: Thu Feb 11, 2010 11:55 am

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby xnview » Fri Mar 19, 2010 12:42 pm

I can't confirm... Could you send me the file used?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16263
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby JohnFredC » Fri Mar 19, 2010 1:42 pm

I have noticed that none of my tools save textural metadata for PNGs, though the PNG spec seems to offer support for text chunks.

This would be great if it would be possible to save ratings, etc, into PNG images.

Is it possible?
John
User avatar
JohnFredC
 
Posts: 1346
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby marsh » Fri Mar 19, 2010 2:17 pm

Here is a png with xmp.
Attachments
pngwxmp.png
pngwxmp.png (3.87 KiB) Viewed 321 times
User avatar
marsh
XnThusiast
 
Posts: 2076
Joined: Sun May 15, 2005 6:31 am

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby JohnFredC » Fri Mar 19, 2010 2:49 pm

Sure enough, that PNG does have metadata! :shock:

But... XnView 1.97.2 shows it as an XML tree in the XMP tab and MP just shows integers in the XMP tab.

Still, proves it is possible.

Marsh, what tool did you use to add the data to the PNG?
John
User avatar
JohnFredC
 
Posts: 1346
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby gaaned92 » Fri Mar 19, 2010 9:08 pm

xnview wrote:I can't confirm... Could you send me the file used?


This file is extracted from http://www.color.org/version4html.xalter

Lower_Left.jpg
Lower_Left.jpg (42.81 KiB) Viewed 291 times


André
gaaned92
 
Posts: 12
Joined: Thu Feb 11, 2010 11:55 am

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby marsh » Sat Mar 20, 2010 2:48 am

JohnFredC wrote:Marsh, what tool did you use to add the data to the PNG?

Exiv2. It can insert info from a mated xmp file.
User avatar
marsh
XnThusiast
 
Posts: 2076
Joined: Sun May 15, 2005 6:31 am

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby XnTriq » Sun Mar 21, 2010 2:30 pm

Adobe (Embedding XMP Metadata in Application Files) wrote:An XML packet can be embedded in a PNG graphic file by adding a chunk of type “tXMP”. The data of the chunk should be a UTF-8 serialized XML packet.
There should be no more than one ‘tXMP’ chunk present in each PNG file. Encoders are encouraged to place the chunk at the beginning of the file, but this is not a requirement.

User avatar
XnTriq
Moderator & Librarian
 
Posts: 1835
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby gaaned92 » Mon Mar 22, 2010 8:28 am

see also :
exiftool: PNG tags

André
gaaned92
 
Posts: 12
Joined: Thu Feb 11, 2010 11:55 am

Re: [MP 0.25 WinXP SP3] loss of metadata during export

Postby xnview » Mon Mar 22, 2010 12:03 pm

I've tried with your jpeg file in Export dialog:
TIFF written=> XMP/IPTC/EXIF
PNG written=> XMP
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16263
Joined: Mon Oct 13, 2003 7:31 am
Location: France


Return to MP Testing - Feedback

Who is online

Users browsing this forum: No registered users and 2 guests