XnView cuts IPTC-Data

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

pictureworker
Posts: 4
Joined: Sun Jul 30, 2017 12:14 pm

XnView cuts IPTC-Data

Postby pictureworker » Sun Jul 30, 2017 12:31 pm

XnView cuts the IPTC data in the IPTC data field Copyright/Quelle. It appears that in XnView the data cannot have more than 32 characters.

Example:

In ACDSee: Album 05 Seite 09/Negativtasche 64-05
In XnView: Album 05 Seite 09/Negativtasche

Saving the picture in XnView after editing the last characters in the IPTC data field are missíng.

Cp. attachment:
snapshot.jpg
snapshot.jpg (20.02 KiB) Viewed 136 times

User avatar
xnview
Author of XnView
Posts: 28073
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView cuts IPTC-Data

Postby xnview » Tue Aug 01, 2017 11:15 am

i can't reproduce, could you send me a photo file?
Pierre.

pictureworker
Posts: 4
Joined: Sun Jul 30, 2017 12:14 pm

Re: XnView cuts IPTC-Data

Postby pictureworker » Tue Aug 01, 2017 4:56 pm

xnview wrote:i can't reproduce, could you send me a photo file?


I send you the picture file 21-205-031.jpg without metadata.

What did I make?

1) I cleared all metadata in the file with Exif Tag Remover Ver. 2.0. HxD Hex Editor then shows that there is no metadata at all in the file.

2) Then in ACDsee I inserted 0123456789012345678901234567890123456789 (40 characters) in the IPTC data field "Quelle". HxD Hex Editor now shows that the XMP-metadata section was created, but the data IS WRITTEN TWICE in the picture file: once starting from file position 0149 where is written the original data (40 characters), and once starting from file position 11B9 - BUT ONLY THE FIRST 32 CHARACTERS!

3) I open the picture file in XnView - et voilà! XnView shows in the IPTC data field Copyright/Quelle only the first 32 characters of the metadata.

It appears that there is a combination of two bugs, one in ACDSee, writing wrong metadata into the file, and one in XnView, accessing the wrong metadata place in the file.
Attachments
21-205-031.jpg

User avatar
xnview
Author of XnView
Posts: 28073
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView cuts IPTC-Data

Postby xnview » Tue Aug 01, 2017 8:24 pm

i have not ACDsee could you send me the picture with IPTC Copyright
Pierre.

pictureworker
Posts: 4
Joined: Sun Jul 30, 2017 12:14 pm

Re: XnView cuts IPTC-Data

Postby pictureworker » Wed Aug 02, 2017 11:39 am

xnview wrote:i have not ACDsee could you send me the picture with IPTC Copyright


I send you the file, with

0123456789012345678901234567890123456789

(40 characters) in copyright. XnView shows only the first 32, probably because ACDSee saved the second version of the metadata incorrect and XnView uses this data.
Attachments
21-205-031.jpg

User avatar
xnview
Author of XnView
Posts: 28073
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView cuts IPTC-Data

Postby xnview » Sun Aug 06, 2017 9:36 am

Your file contains only "01234567890123456789012345678901", checked with ExifTool
Pierre.


Return to “Classic - Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest