Building on what I did with my recent HDRMerge plugin for darktable I have reworked Holger Klemm’s marvelous enfuse_pro script. The rework was primarily to add cross-platform compatibility. I believe this should work on Windows and Linux. I have received no feedback on MacOS, but it SHOULD work on that as well.
If you have tried my HDRMerge plugin then you will be familiar with the setup for this. Simply open setttings>lua option and point to the binaries for the 3 required programs. A restart may be required.
While I was at it I made significant clean-up and restructuring of the code, so some functionality may have broke. Please let me know. As of right now I am aware that:
-Language Translations won’t work
-The reset button doesn’t do anything
I also added some features I developed for my HDRMerge plguin:
-Apply style on auto-import
-Copy dt tags on auto-import
-Add new tags on auto-import
-Bypass the output file path chooser via the “import at source image location” option
I loved using the original version of this plugin when I was running on linux, and sorely missed it when I had to switch over to windows. Hopefully many more people can have access to a great plugin now!
I’m not yet ready to use enfuse_pro, but I had a look at your code about the command path on windows.
I’m still struggling making it work when the executable path contains a space (much common on windows :-)).
Even with your code the access to c:\Program Files (x86)\Exiftool\Exiftool.exe is still giving this error: 'C:\Program' is not recognized as an internal or external command ...
Does that work for you, with such a path ?
Windows 10 + darktable 2.4.1
That does work for me. I am a bit confused, are you experiencing this issue with the new enfuse_pro_2 plugin, or somewhere else? Are you working on your own code for other purposes?
I finally determined that to be able to pass execute commands with spaces the binary location needs to be quoted “path with spaces/to/bin.exe” and then any arguments that follow CANNOT have quotes. So:
cmd1 would work, cmd2 wouldn’t (notice the " " around the source file path and the output file path in cmd2). Putting quotes around the paths found in arguments seems to be a common practice, but I couldn’t get it to work doing that. So I removed the quotes from the argument part of a command and that resolved the issue.
This has held true for me with:
All of which I have installed to: C:\Program Files…
I am testing your plugin. What should I need to select as binaries if all three of them are available system wide? Should I indicate exact location of executable? Or there is some default locations without path?
I hate to admit it but I have no idea where exiftool, enfuse or align image stack live on my machine. I would guess they were installed with Hugin but I can’t figure out where it all went. (Mostly a noob here). Running Ubuntu 17.10 and would have install via ppa.
Hi, I’ve tried your plugin as well (linux) and it works fine, nice job!
The only problem I had was because I have folders with spaces in the name and the script doesn’t escape or quote paths. I’ve modified the script in order to quote the paths, would you like a pull request?