Comments (6)
After some fiddling, I've found that it works without any extra settings if .ExifTool_config
with following content is placed at current working directory, large file support will be enbled
%Image::ExifTool::UserDefined::Options = (
LargeFileSupport => 1,
);
Otherwise, as pointed in above comment, path to config file can be passed as first argument:
new ExifTool({
exiftoolArgs: [
"-config", path.resolve(os.homedir(), ".ExifTool_config"), "-u", "-stay_open", "True", "-@",
"-"
]
});
from exiftool-vendored.js.
When you build your instance of ExifTool
, you can give it arguments. The default is ["-stay_open", "True", "-@", "-"]
: you could try ["-api", "largefilesupport=1", "-stay_open", "True", "-@", "-"]
:
import { DefaultExiftoolArgs, ExifTool } from "exiftool-vendored"
const et = new ExifTool({
exiftoolArgs: ["-api", "largefilesupport=1", ...DefaultExiftoolArgs]
})
(please tell me if this works for you!)
from exiftool-vendored.js.
@mceachen great thanks for the response. Just tried that, and adding exiftoolArgs
as you've proposed doesn't introduce any difference, I still get same warning
from exiftool-vendored.js.
You can also try setting up a config file for exiftool
. see this forum post for details:
https://exiftool.org/forum/index.php?topic=3916.0
(closing as this is a config issue for exiftool
rather than a coding issue for this module.)
from exiftool-vendored.js.
(closing as this is a config issue for exiftool rather than a coding issue for this module.)
This plugin embeds exiftool
(it's not that the user installs it separately and then uses this module with it). So it'll be good to provide some hint on how this embedded ExifTool can be additionally configured. Currently, it's not clear to me.
I see two dependencies hosting it, exiftool-vendored.exe
and exiftool-vendored.pl
, where can I find the mentioned config file?
from exiftool-vendored.js.
The path to a config file can be set up as described here:
from exiftool-vendored.js.
Related Issues (20)
- 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
- Perl not installed error HOT 3
- References to `exiftool.readTags()`
- Flattened tags not appearing in returned object 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.