Giter Club home page Giter Club logo

Comments (12)

drewnoakes avatar drewnoakes commented on May 30, 2024

Can you provide a sample image along with the actual and expected outputs?

from xmp-core-dotnet.

drewnoakes avatar drewnoakes commented on May 30, 2024

Ideally a sample for both encodings.

from xmp-core-dotnet.

pranavmehta avatar pranavmehta commented on May 30, 2024

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.

kwhopper avatar kwhopper commented on May 30, 2024

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.

yauheni-p avatar yauheni-p commented on May 30, 2024

Hi! How can i fix this error with UTF-16 encoding? Thank you very much!
https://www.screencast.com/t/kZ6wRfnv8n

image

from xmp-core-dotnet.

kwhopper avatar kwhopper commented on May 30, 2024

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.

yauheni-p avatar yauheni-p commented on May 30, 2024

https://gofile.io/?c=q1WtyX
https://gofile.io/?c=lopZli
But it happens with any file i try to use...

from xmp-core-dotnet.

drewnoakes avatar drewnoakes commented on May 30, 2024

@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.

yauheni-p avatar yauheni-p commented on May 30, 2024

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.

drewnoakes avatar drewnoakes commented on May 30, 2024

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.

kwhopper avatar kwhopper commented on May 30, 2024

I believe this issue could be closed.

from xmp-core-dotnet.

drewnoakes avatar drewnoakes commented on May 30, 2024

Thanks @kwhopper.

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.