Code Monkey home page Code Monkey logo

Comments (6)

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024 1

I just released v2.8.2, please try it!
pip install pyexiv2==2.8.2

from pyexiv2.

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024

This seems to be a resolved issue of exiv2.
Exiv2/exiv2#2133
I would upgrade the version of exiv2 that pyexiv2 depends on to fix the issue.
Alternatively, you can use the method img.read_raw_xmp().

from pyexiv2.

Ares-cz avatar Ares-cz commented on August 25, 2024

I have tried your method, but it doesn't work.

I look forward your upgrade on this issue.

from pyexiv2.

Ares-cz avatar Ares-cz commented on August 25, 2024

import pyexiv2

img = pyexiv2.Image('./test_image/MS600_0007_450nm.tif')
data = img.read_raw_xmp()
print(data)

img.close()

The error shows on the img = pyexiv2.Image('./test_image/MS600_0007_450nm.tif')

from pyexiv2.

Ares-cz avatar Ares-cz commented on August 25, 2024

image
it still have the same problem.
i am not sure if the problem on my image
because i try another image, it could be worked.

from pyexiv2.

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024

This is probably because the xmp metadata for this image is not standardized.
Please try exiv2 to see if it can read the xmp metadata for that image.

  1. Download exiv2 from https://exiv2.org/download.html
  2. execute the command exiv2 --print x MS600_0007_450nm.tif

from pyexiv2.

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.