Giter Club home page Giter Club logo

Comments (3)

kwhopper avatar kwhopper commented on May 30, 2024

XMP is, fundamentally, XML - which has a string structure. What are you trying to do again? Thanks

from xmp-core-dotnet.

sonicmouse avatar sonicmouse commented on May 30, 2024

I need to create this XMP metadata, which is an array of structs:

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 7.1-c000 79.cb7c5a1, 2022/04/14-05:22:35        ">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	  <rdf:Description rdf:about=""
			xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/"
			xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#">
		 <xmpTPg:Fonts>
			<rdf:Bag>
			   <rdf:li rdf:parseType="Resource">
				  <stFnt:fontName>HelveticaLTStd-Bold</stFnt:fontName>
				  <stFnt:fontFamily>Helvetica LT Std</stFnt:fontFamily>
				  <stFnt:fontFace>Bold</stFnt:fontFace>
				  <stFnt:fontType>Open Type</stFnt:fontType>
				  <stFnt:versionString>Version 1.040;PS 003.001;Core 1.0.35;makeotf.lib1.5.4492</stFnt:versionString>
				  <stFnt:composite>False</stFnt:composite>
				  <stFnt:fontFileName>HelveticaLTStd-Bold.otf</stFnt:fontFileName>
			   </rdf:li>
			   <rdf:li rdf:parseType="Resource">
				  <stFnt:fontName>VerdanaLTStd-Bold</stFnt:fontName>
				  <stFnt:fontFamily>Verdana LT Std</stFnt:fontFamily>
				  <stFnt:fontFace>Bold</stFnt:fontFace>
				  <stFnt:fontType>Open Type</stFnt:fontType>
				  <stFnt:versionString>Version 1.040;PS 003.001;Core 1.0.35;makeotf.lib1.5.4492</stFnt:versionString>
				  <stFnt:composite>False</stFnt:composite>
				  <stFnt:fontFileName>VerdanaLTStd-Bold.otf</stFnt:fontFileName>
			   </rdf:li>
			</rdf:Bag>
		 </xmpTPg:Fonts>
	  </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>

I know it's just XML, but I was hoping this XMPCore library would make it a lot less painful to do.

from xmp-core-dotnet.

sonicmouse avatar sonicmouse commented on May 30, 2024

This library is nice for reading XMP Metadata, but it's not so good for writing it. I just ended up writing XML code to take care of this. Thanks for the help anyway.

from xmp-core-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.