Edit XMP and Edit IPTC Unavailable for HEIF

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

swpaskett
Posts: 6
Joined: Sat Jul 08, 2023 7:35 pm

Edit XMP and Edit IPTC Unavailable for HEIF

Post by swpaskett »

Subject: 1.5.2: No XMP or IPTC support for HEIF?

XnView: MP 1.5.2 - 64 bit
OS: Mac 64bit 12.6.8 Monterey

When I select a HEIF image to edit either XMP or IPTC metadata the functions are grayed out, shortcut keys don't work either. I can add Categories, though. When I add a Category, XnView creates a sidecar, which I find surprising because HEIF is a container and should readily accept XMP meta. All my HEIFs have *.XMP sidecars now, but I cannot edit them.

Effect:Nothing bad happens. I just can't add all the information I would like to add.

To reproduce:
1. Select an HEIF in the Browser.
2. Select and add one or more Categories (to generate Sidecar). Use your favorite method. This works.
3. Select Metadata; Edit XMP and Edit IPTC are grayed out.
4. Or, use shortcut for Edit IPTC. No response.
5. Or, right-click thumbnail, select Metadata; both Edits are grayed out.

Actual behaviour (bug): Both Edit functions are unavailable.

Expected behaviour: First off, I would expect this to behave the same as for JPG. A sidecar should not be created unless Settings says to (there is no setting for HEIF like there is for JPG, however). Selecting Edit XMP should launch the Edit XMP function. Likewise for IPTC. Leads me to believe this function isn't completely implemented yet and if so I will wait patiently and convert my HEIFs to JPG as a workaround. JPG has been good enough so far.

Typical Sidecar:
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/">
<xmp:Rating>0</xmp:Rating>
<MicrosoftPhoto:Rating>0</MicrosoftPhoto:Rating>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>

I have write privileges:
Image

I know you guys are busy and I really appreciate the great work you are doing. Thanks for making MP what it is and continuing to make it better.

______________________________________________________
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 48839
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Edit XMP and Edit IPTC Unavailable for HEIF

Post by xnview »

Currently XMP/IPTC editing works only with JPEG/TIFF/PNG
swpaskett
Posts: 6
Joined: Sat Jul 08, 2023 7:35 pm

Re: Edit XMP and Edit IPTC Unavailable for HEIF

Post by swpaskett »

Thank you. I rather gathered it wasn't implemented when the functions were grayed out, but hope springs eternal. Is there any plan to add HEIF support in the reasonably near future, say in a year or so?
User avatar
xnview
Author of XnView
Posts: 48839
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Edit XMP and Edit IPTC Unavailable for HEIF

Post by xnview »

swpaskett wrote: Thu Aug 03, 2023 9:31 pm Thank you. I rather gathered it wasn't implemented when the functions were grayed out, but hope springs eternal. Is there any plan to add HEIF support in the reasonably near future, say in a year or so?
i'll try
TrailQuest
Posts: 12
Joined: Wed Mar 30, 2022 12:24 am
Location: Plymouth,MI,USA

Re: Edit XMP and Edit IPTC Unavailable for HEIF

Post by TrailQuest »

Thank you for intending to work on editing metadata of HEIF & HEIC files. It would be helpful.
pwsmillie
Posts: 1
Joined: Wed Sep 09, 2026 11:58 pm

Re: Edit XMP and Edit IPTC Unavailable for HEIF

Post by pwsmillie »

Hi. I am interested in there being support for XMP and IPTC metadata in HEIF files. I recently noticed that the presence of XMP in an HEIF file is not reported by XnView.

As a first development step I would suggest that XnView display existing XMP and IPTC metadata. Then as a second development step XnView would support editing of XMP and ITPC metadata in HEIF files.

I strongly believe that XnView should acknowledge the presence of XMP and IPTC metadata in an HEIF image, even if it politely states that it cannot be viewed or edited in the current version of XnView.
User avatar
xnview
Author of XnView
Posts: 48839
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Edit XMP and Edit IPTC Unavailable for HEIF

Post by xnview »

pwsmillie wrote: Thu Sep 10, 2026 12:19 am As a first development step I would suggest that XnView display existing XMP and IPTC metadata. Then as a second development step XnView would support editing of XMP and ITPC metadata in HEIF files.

I strongly believe that XnView should acknowledge the presence of XMP and IPTC metadata in an HEIF image, even if it politely states that it cannot be viewed or edited in the current version of XnView.
XnView supports XMP in HEIC, could you send us a sample file?