Comments (5)
If you'd like to tackle this, feel free to reopen.
from exiftool-vendored.js.
This is actually the third wrapper I've written for ExifTool, and there are a couple of sticky bits here.
Prior wrappers didn't require vendoring ExifTool, which led to people running ancient versions that it didn't work well with. ExifTool's output changes, I don't want to support N versions.
The other sticky bit: packaging. If, say, the code is moved to a new @photostructure/exiftool
package that omits the vendored dependency, and make this package just require and export @photostructure/exiftool
and require the vendored ExifTool, I think we get what you want, but the new package should probably grump if the version of exiftool isn't "close enough" to supported versions. That starts to smell like a monorepo (using Lerna?) would be needed to coordinate all those sub-packages.
I don't have time to make that happen right now. If you want to work on it, PRs are welcome, and feel free to push work-in-progress PRs if you want feedback before you're done.
from exiftool-vendored.js.
Thank you. I’ll try and get you a PR in the next week.
from exiftool-vendored.js.
@hughevans Did you ever get a working Lambda layer version of this working? I've had one working until I've moved from NodeJS 8.10 to Node 12x as 8.10 LTS is being deprecated. Now I can't even get the version command to work. Running any command (version
or read
) causes the Lambda to terminate without an error code.
I have a layer very similar to the layer you created in your Aug 12 comment. I've packaged the exiftool.vendored.pl as a stand-alone file
In my package lock: "exiftool-vendored.pl": "file:vendor/exiftool-vendored.pl",
, where the .pl is file is just module.exports = "/opt/exiftool/exiftool";
. perl is my /opt/bin/ and exiftool is in /opt/exiftool/
@mceachen Is it expected behavior that no error message would be returned if there's a problem? I'm guessing it's something with how I have things packaged within the layer, but the lack of any feedback is making debugging a bit tricky.
I'm currently on version 8.13.1 with ExifTool 11.51.
from exiftool-vendored.js.
@mceachen Is it expected behavior that no error message would be returned if there's a problem?
No.
I'm guessing it's something with how I have things packaged within the layer, but the lack of any feedback is making debugging a bit tricky.
Have you enabled logging? There's an example here: https://github.com/photostructure/exiftool-vendored.js/blob/master/src/_chai.spec.ts#L15
from exiftool-vendored.js.
Related Issues (20)
- GPS Tag Write not setting negative HOT 6
- Random error when doing Write HOT 1
- `ExifTool.readRaw` incorrectly has return type `Promise<Tags>` HOT 1
- DefaultExifToolOptions HOT 3
- -g vs -G produces different tag values HOT 2
- 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
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.