![]() ![]() I used node-exiftool with these settings added in package. This answer is included for completeness, for those of us who need exiftool in an electron app for both Mac and Windows: Haskell bindings to the ExifTool command-line application that enable reading, writing and deleting metadata in various file formats. ExifTool is a platform-independent Perl library plus a command-line application for reading, writing, and editing meta information in a wide variety of files. ![]() Since I never found a way to get exiftool-vendored to work with electron on Mac, I accepted the above answer, as essentially a warning to steer clear of exiftool-vendored for electron on Mac. _dirname at runtime from within an asar package after webpacking will be invalid, so don't rely on that. Many things won't work due to a lack of node compatibility within electron. If you're requiring exiftool-vendored from within a webview, you're gonna have a bad time. A quick and easy way to extract the geotag information from a folder of photos (in this case drone images), and output the data to a summary file for viewing or further analysis (see my videos. SmartUnpack might work, but if it doesn't use a pattern like node_modules//**/*. Note that this package will spawn exiftool external processes, which means the and exiftool-vendored.exe packages should be included in your asarUnpack. If you're still anxious to try, here are some things to keep in mind: Although PhotoStructure uses this package within electron, there's a nontrivial amount of auxiliary support code specific to that project to make it work smoothly. You should take a look at what the docs say about making it work with Electron: How do you make this work with electron?Įlectron is notoriously brittle and buggy, and is not officially supported by this package. ![]()
0 Comments
Leave a Reply. |