Code Monkey home page Code Monkey logo

Comments (3)

LeoHsiao1 avatar LeoHsiao1 commented on August 25, 2024

I'm sorry I didn't notice this problem in time.

I haven't encountered this problem yet.
The reason may be that your image metadata is a special value that I haven't encountered yet.

Please forward your image file to me and let me have a try.

I can successfully perform the following operations:

Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyexiv2
>>> i = pyexiv2.Image("1.jpg")
>>> i.read_exif()
{'Exif.Image.ImageDescription': '11', 'Exif.Image.ExifTag': '2158',  ...
>>> len(i.read_exif())
9
>>> i.modify_exif({'Exif.Image.Make': 'Panasonic'})
>>> i.read_exif()["Exif.Image.Make"]
'Panasonic'

from pyexiv2.

peter17 avatar peter17 commented on August 25, 2024

Hi @LeoHsiao1 I tried again and it is working fine now... I don't understand why. That image may have been corrupted... Thanks. Best regards.

from pyexiv2.

github-actions avatar github-actions commented on August 25, 2024

This issue has been automatically closed because there has been no activity for a month.

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.