Comments (12)
Can you provide a sample image along with the actual and expected outputs?
from xmp-core-dotnet.
Ideally a sample for both encodings.
from xmp-core-dotnet.
I have only one sample at the moment. I've uploaded it here https://image.ibb.co/b5umfk/test2.jpg (Source page: https://ibb.co/e2NuY5)
The current version does not populate the XMP directory in the list of directories, and trying to read the XMP metadata forcefully throws a not supported exception. But the same XMP metadata is readable using other .Net components and can also be verified by uploading the file to http://metapicz.com/
from xmp-core-dotnet.
For test2.jpg, what specific error does it return for you? When I run it (full .NET framework on Windows) the error is because of a duplicate node under the same parent, which is technically illegal in XMP. Thanks
from xmp-core-dotnet.
Hi! How can i fix this error with UTF-16 encoding? Thank you very much!
https://www.screencast.com/t/kZ6wRfnv8n
from xmp-core-dotnet.
Is it possible to get a copy of the image that has this problem? In many cases, an "encoding" error (thrown by XmpCore) can be a misnomer. The real problem typically is with illegal embedded XMP. If we could get the image it would help diagnose. Thanks
from xmp-core-dotnet.
https://gofile.io/?c=q1WtyX
https://gofile.io/?c=lopZli
But it happens with any file i try to use...
from xmp-core-dotnet.
@yauheni1987 you cannot pass whole image files directly to XmpMetaFactory.Parse
. That method expects XMP data only.
If you want to get metadata from images, you'll have to use http://github.com/drewnoakes/metadata-extractor-dotnet and the ImageMetadataReader
class.
from xmp-core-dotnet.
Thank you for your answer. I need to read and edit metadata in .eps(vector image) files. Thats why ImageMetadataReader can't help me.
from xmp-core-dotnet.
Unfortunately then you'll need to write your own code to manipulate the EPS files. XmpCore will be able to parse and format the XMP XML for you, but you'll have to do the rest.
from xmp-core-dotnet.
I believe this issue could be closed.
from xmp-core-dotnet.
Thanks @kwhopper.
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
- 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 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
- Create Array of Structs HOT 3
- Add UTF-32 support (or improve error messaging?) HOT 2
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.