Comments (6)
Howdy! ExifTool is burping out a warning for that example image you provided:
$ exiftool -all= -overwrite_original test/delete-test.jpg
Warning: ICC_Profile deleted. Image colors may be affected - test/delete-test.jpg
1 image files updated
The error we're looking at is due to this library trying to be "helpful": taskRetries
defaults to 1, and we retry write operations. The first time it fails due to the ICC_Profile deletion, and the second time it fails because the second write is a no-op.
So! What to do?
-
Add "ignorable" errors to the config. It's what PhotoStructure has already, I can just move the code here.
-
Only retry read ops. Retrying reads is always safe. Writes, not so much.
-
All of the above
from exiftool-vendored.js.
I've done 2., which means we see a nice error message:
1) ExifTool
exiftool({ ignoreShebang: false })
deleteAllTags
issue #119:
Error: Warning: ICC_Profile deleted. Image colors may be affected - /tmp/f5b3de32/test/delete-test.jpg
at WriteTask.parser (src/ExifToolTask.ts:16:15)
at WriteTask._Task_resolve (node_modules/batch-cluster/src/Task.ts:144:38)
from exiftool-vendored.js.
Fixed in 160e2fc
from exiftool-vendored.js.
Thanks, Matt! Super helpful & responsive, and appreciate the change to provide a hook for caller to weigh in on if the error is worthy of an exception or not. Works great. My bad for not mentioning the ICC profile error -- I also saw the same but figured unrelated so not worth mentioning. Again, thank you!!
from exiftool-vendored.js.
ICYMI, I released with this fix, too. Thanks for making an easy-to-follow bug report!
Cheers. 🍻
from exiftool-vendored.js.
Saw that earlier and already pulled it. Thanks again! 🥇
from exiftool-vendored.js.
Related Issues (20)
- incorrect video create date HOT 10
- Stuck forever if perl is missing HOT 2
- Asynchronous operations that weren't stopped HOT 2
- Video `Create Date` with GPS inferred timezone HOT 10
- Wrong timezone offset is parsed from `TimeCreated` tag when using `inferTimezoneFromDatestamps` HOT 4
- Adding values to numericTags does not reflect in Tags type, nor is the function allowed to be properly extended to fix the return value HOT 2
- Regression on timezone extraction from an iPhone photo HOT 3
- "No success message": success regex isn't reliable indicator of "success" HOT 3
- problem with ignoreShebang HOT 3
- GPSLatitude and GPSLongitude differs from GPSPosition HOT 6
- gitlab CI (bullseye-slim) - Error: end() called before task completed HOT 4
- Treat "exiftool-vendored.exe" and "exiftool-vendored.pl" more as optional dependencies HOT 1
- Delete all tags except specified (returns `TypeError`) HOT 5
- inferTimezoneFromDatestamps does not detect UTC/Z/+00:00 timezones HOT 1
- Hang and then timeout on certain files HOT 3
- Perl not installed error HOT 3
- References to `exiftool.readTags()`
- Flattened tags not appearing in returned object HOT 6
- Setting ModifyDate does not work (shows the date when the file was modified by exiftools)
- Infer timezone information for Sony A7 first gen HOT 10
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 exiftool-vendored.js.