Page 1 of 1

XnView cuts IPTC-Data

Posted: Sun Jul 30, 2017 12:31 pm
by pictureworker
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 468 times

Re: XnView cuts IPTC-Data

Posted: Tue Aug 01, 2017 11:15 am
by xnview
i can't reproduce, could you send me a photo file?

Re: XnView cuts IPTC-Data

Posted: Tue Aug 01, 2017 4:56 pm
by pictureworker
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.

Re: XnView cuts IPTC-Data

Posted: Tue Aug 01, 2017 8:24 pm
by xnview
i have not ACDsee could you send me the picture with IPTC Copyright

Re: XnView cuts IPTC-Data

Posted: Wed Aug 02, 2017 11:39 am
by pictureworker
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.

Re: XnView cuts IPTC-Data

Posted: Sun Aug 06, 2017 9:36 am
by xnview
Your file contains only "01234567890123456789012345678901", checked with ExifTool