Comments (4)
The message is coming from the exiv2(.exe) application and not the library.
574 rmills@rmillsmbp:~/gnu/exiv2/0.26 $ grep 'No Exif data found in the file' src/actions.cpp
<< _("No Exif data found in the file\n");
if (noExif) std::cerr << path_ << ": " << _("No Exif data found in the file\n");
<< ": " << _("No Exif data found in the file\n");
<< ": " << _("No Exif data found in the file\n");
<< ": " << _("No Exif data found in the file\n");
<< ": " << _("No Exif data found in the file\n");
<< ": " << _("No Exif data found in the file\n");
575 rmills@rmillsmbp:~/gnu/exiv2/0.26 $
Perhaps the application should also respect the log level of the library. If the library has been silenced, perhaps applications should also keep silent.
How much pain is this causing? Can you just use exiv2 --quiet cabin.jpg 2>/dev/null
If you want me to investigate further, can you attach cabin.jpg so that I reproduce your use case.
from exiv2.
I just assumed the expected behavior would be a clear stderr under the --quiet
option. I'm not sure of the utility of the current behavior when using the CLI. Overall, I just wanted to bring it to your attention since the workaround (redirecting to /dev/null) is straightforward. (Slightly tangential question: if the library is being silenced, does this mean something else is writing the error messages?)
from exiv2.
Yes. The message is being written by the Exiv2 cli application. The library has been silenced.
from exiv2.
I'll reopen this issue if you wish to discuss this further.
from exiv2.
Related Issues (20)
- 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
- exiv2.org website redirects to DNS page 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 exiv2.