Page 1 of 1

PNG doesn't save new XMP metadata

Posted: Thu Oct 27, 2022 10:08 am
by erty
When you try to add XMP metadata for PNG files nothing is saved:
how to reproduce:
1. open PNG with no metadata
2. try to add some xmp fields (I tested with title and author)
3. push apply or write, open dialog again and you will see empty fields
4. same if you try save as new png file with different name. nothing is writed

but if you try to change metadata in files with already existed metadata everything will write correctly
and if you export jpeg to png, xmp persisted too

XnViewMP 1.3.1
Windows 11 22H2 x64

Re: PNG doesn't save new XMP metadata

Posted: Thu Oct 27, 2022 1:01 pm
by xnview
i can't reproduce, you use 'Edit XMP' from browser right?

Re: PNG doesn't save new XMP metadata

Posted: Thu Oct 27, 2022 3:52 pm
by Kadet
1. Open XnView
2. From Browser open test.png
3. Edit XMP and add autor, title...
4. Click Apply
5. Click again Edit XMP or save file as test2.png
---> No XMP info was written.

And now, after save test2.png if You Edit XMP this file from Browser, add something and click save --> test2.png disappears from Browser (but not from folder and XMP are saved).

Bug is only after start XnView.

Re: PNG doesn't save new XMP metadata

Posted: Fri Oct 28, 2022 9:01 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: PNG doesn't save new XMP metadata

Posted: Tue Dec 13, 2022 7:43 am
by xnview
This problem is supposed to be fixed in XnView MP 1.4.0. Please check and confirm the bug fix here.