GithubHelp home page GithubHelp logo

Comments (6)

medikoo avatar medikoo commented on June 6, 2024 2

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.

mceachen avatar mceachen commented on June 6, 2024

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.

medikoo avatar medikoo commented on June 6, 2024

@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.

mceachen avatar mceachen commented on June 6, 2024

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.

medikoo avatar medikoo commented on June 6, 2024

(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.

mceachen avatar mceachen commented on June 6, 2024

The path to a config file can be set up as described here:

#27 (comment)

from exiftool-vendored.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.