Hi, I need help or clarification with 2 issues. The first seems like a bug or oversight, while the second is probably just my own unfamiliarity.
The WindowsComment property isn't read by Windows that I can see. I can populate it, and even read that property back with your sample Exif Test application. But Windows itself doesn't see the value, nor can I find any other way to populate the "Comments" property that Windows is able to see/read. See screenshot.
The WindowsTitle property isn't see by Windows as the Title. Instead, Windows pulls from the property "ImageDescription" to get what it shows as the Title.
My Questions
How do I populate whatever field it is that Windows treats as the Comment?
If Windows treats the Description as the "title", it seems like the "WindowsTitle" property is actually ignored by Windows, so what is its point or use?
Additional Information
I'm still new to working with EXIF data so please forgive me. Out of curiosity, I looked at the image metadata in Gimp. It doesn't show WindowsAuthor, WindowsComment etc. Instead, it shows XPAuthor, XPComment etc. I am guessing that is just their own terminology.
I then looked at the image metadata in Affinity Photo, which provides a "raw" view that I'll share here in case it helps:
var file = ImageFile.FromFile(source);
file.Properties.Set(ExifTag.WindowsAuthor, "My Author");
file.Properties.Set(ExifTag.WindowsComment, "My Comment");
file.Properties.Set(ExifTag.WindowsTitle, "My Title");
file.Properties.Set(ExifTag.WindowsSubject, "My Subject");
if (String.IsNullOrEmpty(dest))
dest = source;
file.Save(dest);
Recap
How do I populate whatever field it is that Windows treats as the Comment?
If Windows treats the Description as the "title", it seems like the "WindowsTitle" property is actually ignored by Windows, so what is its point or use?
UPDATE
I can't explain how or why, but suddenly being able to read the XPComment started working. You can see clearly in my screenshot that it wasn't working right. So I can prove that it didn't work right before, but have no idea why suddenly everything seems OK.
Hi, I need help or clarification with 2 issues. The first seems like a bug or oversight, while the second is probably just my own unfamiliarity.
My Questions
How do I populate whatever field it is that Windows treats as the Comment?
If Windows treats the Description as the "title", it seems like the "WindowsTitle" property is actually ignored by Windows, so what is its point or use?
Additional Information
I'm still new to working with EXIF data so please forgive me. Out of curiosity, I looked at the image metadata in Gimp. It doesn't show WindowsAuthor, WindowsComment etc. Instead, it shows XPAuthor, XPComment etc. I am guessing that is just their own terminology.
I then looked at the image metadata in Affinity Photo, which provides a "raw" view that I'll share here in case it helps:
My test code is very simple:
Recap
How do I populate whatever field it is that Windows treats as the Comment?
If Windows treats the Description as the "title", it seems like the "WindowsTitle" property is actually ignored by Windows, so what is its point or use?
UPDATE
I can't explain how or why, but suddenly being able to read the XPComment started working. You can see clearly in my screenshot that it wasn't working right. So I can prove that it didn't work right before, but have no idea why suddenly everything seems OK.