How to add custom EXIF tags to a image
I'd like to add a new tag ("LV95_original") to an image ( JPG, PNG or something else..) How can I add a custom EXIF tag to a image? This is what I've tried so far: using (var file = Image.FromFile(path)) { PropertyItem propItem = file.PropertyItems[0]; propItem.Type = 2; propItem.Value = System.Text.Encoding.UTF8.GetBytes(item.ToString() + "\0"); propItem.Len = propItem.Value.Length; file.SetPropertyItem(propItem); } This is what I've researched: Add custom attributes : This uses something different SetPropert : This updates a property, I need to add a new one Add EXIF info : This updates