Comments (3)
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.
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.
This issue has been automatically closed because there has been no activity for a month.
from pyexiv2.
Related Issues (20)
- Hi i am search for adding XMP tags to IPTC is it possible by any means ? HOT 3
- tif 图获取ICC Profile解码出错 HOT 6
- How to set Exif.Image.ImageID properties HOT 1
- XMP Toolkit error 201: Error in XMLValidator HOT 6
- Speed fluctuations in windows 11 HOT 3
- latest version 2.8.2 doesn't work on Ubuntu 20.04 HOT 3
- Python 3.12 wheels missing and no source release on PyPI HOT 3
- How to catch "bad metadata" vs no metadata HOT 3
- Err 2 HOT 8
- Large exif data HOT 2
- modify_xmp() errors with 'Composite nodes can't have values' HOT 5
- Auto register additional XMP namespaces HOT 4
- Support conversion HOT 2
- Open image with german umlauts HOT 4
- exiv2api.cpp will compile with exiv2 until version 0.27.7 HOT 3
- Copying exif data containing duplicate keys HOT 9
- Chinese Path Error!
- Modifying exif containing duplicate keys. HOT 10
- Does it support Python 3.10+? HOT 5
- Adding tag description access to pyexiv2 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 pyexiv2.