Page 1 of 3

Saving jpeg images with metadata intact

Posted: January 22nd, 2019, 5:27 pm
by Bob Walker
I am trying out some of the new features of PWP 8.0. I would like to take a jpeg image, with laboriously incorporated metadata, crop and downsize and sharpen for web display, yet keep all the jpeg's original metadata, including GPS, IPTC, and EXIF information. Is this possible? What is the best way to do this?

Thanks,
Bob W

Re: Saving jpeg images with metadata intact

Posted: January 22nd, 2019, 6:28 pm
by jsachs
Normally all the metadata is preserved by transformations such as Resize and Sharpen, etc. Are you having a problem with some of the metadata being lost?

Re: Saving jpeg images with metadata intact

Posted: January 23rd, 2019, 12:10 am
by Bob Walker
Jonathan,

Thanks for the response. I created a small image, added various metadata to it with a metadata editor (Daminion 5.8), then went into PWP8 Alpha 20-Jan-2019, opened the file and performed a single sharpening transformation "Sharpen/Sharpen More", then saved the result. The sharpened image lost its exif tags. IPTC information (e.g., location), and "Makernotes". Is this what you would expect? Shall I make the files and workspace script available?

Much of the camera information was preserved, including shooting parameters and GPS data. (The old PWP7 mangles the shooting information.)

Thanks,
BobW

Re: Saving jpeg images with metadata intact

Posted: January 23rd, 2019, 3:08 am
by Winfried
Well, the metadata topic is a mess. There are many different kinds of metadata (formats, structure,purpose). For some metadata groups there are different versions. For example IPTC. To my opinion the "xmp-standard" for metadata is important and should be supported in a way that the xmp-metadata are not lost. I don't see a need for PWP to implement a metadata editor.
I guess Daminion 5.8 supports this "xmp-standard" as well as Imatch does.
Some stuff to read http://www.photometadata.org/#

Re: Saving jpeg images with metadata intact

Posted: January 23rd, 2019, 7:13 am
by jsachs
I'm not sure what you mean when you say the EXIF tags are lost but much of the camera information was preserved, since the camera information is stored in EXIF tags.

What about just opening and saving the file without sharpen. Does that also mess up the metadata?

Re: Saving jpeg images with metadata intact

Posted: January 23rd, 2019, 10:23 am
by Bob Walker
Jonathan,

Yes, opening and re-saving a file also drops the metadata I am looking at. By "Tags" I mean what the Windows Explorer window shows under that field. They are stored both as a part of EXIF (as "XP Keywords" using exiftool to view), and as a part of IPTC as "Keywords" (using Metadata++ to view).

Thanks, that was a good idea.

Bob W

Re: Saving jpeg images with metadata intact

Posted: January 23rd, 2019, 11:04 am
by jsachs
OK, if you give me a list of a few specific tags that are getting lost I can try to figure out what is happening to them.

Re: Saving jpeg images with metadata intact

Posted: January 24th, 2019, 12:18 am
by Bob Walker
Jonathan,

Here is a screenshot. File RBW (1824).JPG is an original jpeg output form Canon's DPP software. I opened it in PWP 8 by dragging it to the workspace. I then saved it using the "Save as" widget, generating the RBW (1824) v1.jpg file.

I then right click on each file in a Windows explorer window, select "Properties" and see what it says in the Details tab for each file. The Before/After windows show that The "Title" field has been replaced with the Description field. The Ratings field has been removed. The Tags field has been removed. Everything else I check seems to have been preserved.

Thanks,
Bob W

Re: Saving jpeg images with metadata intact

Posted: January 24th, 2019, 12:26 am
by Bob Walker
It looks like the screenshot image got downsampled to where it is unreadable. Here are two images, just of the properties dialogs.

Re: Saving jpeg images with metadata intact

Posted: January 24th, 2019, 3:25 am
by Winfried
For checking metadata I use (and trust) the exif tool.
The files are text files and zipped for uplaod reasons.
Metadata_before.zip
File from DXO. Some Fields added with Imatch (rating, Label, Keywords, ...)
(3.54 KiB) Downloaded 317 times
Metadata_after.zip
File after saving this file from PWP
(3.61 KiB) Downloaded 303 times