Comments (4)
It's a multi-page tiff and Exiv2 does not support that. I don't think the error message is very helpful. There's an open issue to work on this. I created a script using some of libtiff utilities to cut the multipage tiff into single page files, modify the metadata and recombine them. Messy. Let me know if that "fix" is useful to you and I'll "point" you to the notes concerning this.
from exiv2.
But I still have a doubt. How is it possible that this piece of code:
Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(fileName.toUtf8().constData());
image->readMetadata();
Was working on the version 0.25 and now in 0.26 it throws an exception in the readMetadata() function. Is it a new check introduced between 0.25 and 0.26 ?
from exiv2.
Yes. I added a two new Errors a few weeks ago. Error 55 and 56. Somebody was doing some “fuzzing” on our code and found ways to get us to crash.
I can’t remember if theres something different between v0.25 and v0.26 concerning this.
from exiv2.
I've remembered the change between v0.25 and v0.26 about this. image->readMetadata() in v0.26 calls image->printStructure(kpsRecursive) and that's where this "too big" thing is detected. In v0.25, I think we recover metadata and write some warnings to errout. In v0.26, we write more warnings to errout and recover the metadata. The current master throws these new errors.
We don't support multi-page tiff. We may have been recovering some metadata, however it's unlikely to be complete. Multi-page tiff is on the list for v0.27 http://dev.exiv2.org/news/3 However, I decided to do user support and mentoring for Exiv2 in 2017. If I do all the development and support, Exiv2 becomes a full-time job. More contributors are needed to work on this stuff.
from exiv2.
Related Issues (20)
- Exif.Photo.UserComment value garbled HOT 1
- Windows 7 and libcurl
- Who can do changes in Wiki?
- Build option to omit ssh? HOT 4
- exiv2.org expires on February 29, 2024 HOT 8
- Localization file template update on crowdin HOT 18
- Lens Recognition for Sigma 24mm f/1.4 DG HSM Art HOT 2
- JXR Format support HOT 1
- Writing XMP metadata to jp2 files erases all XMP metadata in file HOT 10
- Dates are misinterpreted as XmpText HOT 2
- Lens Recognition for Yongnuo YN 35mm f/2 HOT 4
- Sony Marker Notes in converted from ARW to DNG files no longer readable by exiv2 (but still readable by exiftool) HOT 2
- Release version 0.28.2 HOT 5
- Support winget installation HOT 3
- Canon Lens incorrectly identified as Sigma Lens HOT 11
- Canon EF 100mm f/2.8L Macro IS USM not accurately detected HOT 1
- RawTherapee ART and Darktable cannot recognise correctly Tamron and Tokina lenses on Nikon camera HOT 7
- exiv2 does not register certain namespaces present in an image HOT 1
- Improve i18n test coverage
- Timeout in OSS-Fuzz
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 exiv2.