*** Please try to reproduce your bug and confirm the bug fix. ***
Moderators: xnview , Dreamer
esv
Posts: 52 Joined: Fri Sep 16, 2022 1:04 pm
Post
by esv » Sat Dec 03, 2022 6:20 pm
In Setting→General→Formats→Write I have all 4 metadata checkmarks ticked/enabled (as far as I understand, this is a common section for all formats, so should also work for PNG)
Keep EXIF
Keep IPTC
Keep XMP
Keep ICC profile
However, when I resave a scanned PNG file (via export or cropping and saving or saving as), the EXIF section of the file is gone
XnView: MP 1.3.1 64 bit
OS: macOS 10.15.7 64bit (though same thing happens on Windows 10)
xnview
Author of XnView
Posts: 47565 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Sun Dec 04, 2022 2:31 pm
EXIF is not supported by PNG
Pierre.
esv
Posts: 52 Joined: Fri Sep 16, 2022 1:04 pm
Post
by esv » Sun Dec 04, 2022 4:09 pm
Well, it is supported by the PNG:
xnview
Author of XnView
Posts: 47565 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Mon Dec 05, 2022 7:58 am
yes right, i didn't know that a special chunk was added. Could you send me a PNG file with EXIF data?
Pierre.
esv
Posts: 52 Joined: Fri Sep 16, 2022 1:04 pm
Post
by esv » Mon Dec 05, 2022 1:47 pm
Sure thing, the attached file is a tiny screenshot of a white screen area, it does show IFD0 and Exif IFD fields
You do not have the required permissions to view the files attached to this post.
xnview
Author of XnView
Posts: 47565 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Sun Feb 12, 2023 12:47 pm
See
issue for current status and some details.
Pierre.
xnview
Author of XnView
Posts: 47565 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Mon Feb 27, 2023 9:57 am
This problem is supposed to be fixed in
XnView MP 1.4.3 . Please check and confirm the bug fix here.
Pierre.
esv
Posts: 52 Joined: Fri Sep 16, 2022 1:04 pm
Post
by esv » Mon Feb 27, 2023 5:35 pm
Upd: I've learned that the Apple chunk is supposed to disappear per PNG spec, but that still doesn't explain the warning
Just converted a screenshot in the new version and noticed that there is a warning from exiftool, though not sure what it is
before
Code: Select all
Apple Data Offsets : (Binary data 28 bytes, use -b option to extract)
after
Code: Select all
No field 'Apple Data Offsets' (as it should be)
Warning : [minor] Text/EXIF chunk(s) found after PNG IDAT (may be ignored by some readers)
xnview
Author of XnView
Posts: 47565 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Wed Mar 01, 2023 3:24 pm
could you send me the file?
Pierre.
esv
Posts: 52 Joined: Fri Sep 16, 2022 1:04 pm
Post
by esv » Wed Mar 01, 2023 3:38 pm
Sure
xn1.png is the original screenshot
xn2_edit.png is the same file cropped in XnViewMP with the warning
You do not have the required permissions to view the files attached to this post.
xnview
Author of XnView
Posts: 47565 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Wed Mar 01, 2023 4:16 pm
it's only a warning, LIBPNG writes at the end the EXIF chunk...
Pierre.