Beispiel #1
0
        public void Dump()
        {
#if enable_debug
            XmpFile xmp = new XmpFile();
            xmp.Store = this;
            xmp.Save(System.Console.OpenStandardOutput());
#endif
        }
Beispiel #2
0
    public void SetXmp(XmpFile xmp)
    {
        using (MemoryStream stream = new MemoryStream()) {
            XmpSignature.WriteName(stream);
            xmp.Save(stream);

            Marker xmp_marker = new Marker(XmpSignature.Id, stream.ToArray());
            Replace(XmpSignature, xmp_marker);
        }
    }