Comments (3)
XMP is, fundamentally, XML - which has a string structure. What are you trying to do again? Thanks
from xmp-core-dotnet.
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.
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)
- Sign assemblies HOT 6
- Implement Language property for XmpProperty682 HOT 8
- XMP Toolkit SDK - 2016.07 support? HOT 12
- System.Xml.XmlException: The ':' character, hexadecimal value 0x3A, cannot be included in a name. HOT 15
- Support .NET Core HOT 1
- Set up CI HOT 1
- NuGet package shouldn't depend upon JetBrains.Annotations
- VS2017 / C# 7 support HOT 1
- Nuget package version not matching assembly version HOT 6
- Support .NET 3.5 HOT 1
- Package specification is missing project URL
- How to write only Xmp metadata using Xmp core HOT 3
- UTF-16 is not supported HOT 14
- Support for UTF-16 and UTF-32? HOT 12
- Support for PCL HOT 6
- I have a MissingMethodException: Method not found: 'System.Xml.XmlReaderSettings.set_MaxCharactersFromEntities' issue HOT 5
- XmpMetaFactory.ParseFromBuffer fails when there is an XML-comment in the input XML buffer HOT 3
- Improve performance of Latin1Converter
- License is not available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmp-core-dotnet.