/// <summary> /// Saves all the metadata that fits in XMP to a file. /// </summary> /// <example>SaveXmplFile("c:\dir\metadata.xmp")</example> public void SaveXmpFile(string path) { var tag = new XmpTag(); SaveInImageTag(tag); File.WriteAllText(path, tag.Render(), Encoding.UTF8); }
private void TestRender(XmpTag tag, XmpValidator validator) { string xmp = tag.Render (); var parsed_tag = new XmpTag (xmp, null); validator (parsed_tag); }