-
-
Notifications
You must be signed in to change notification settings - Fork 50
FAQ
Tags.ts is created by the npm mktags
script. The samples I've run it against come from a cached copy of ExifTool's samples. These files have all the metadata of the original files, but the images or videos are replaced with a 1x1 pixel image.
Please note: only the tags found in these ~6k of images are included in Tags.ts.
If you find that you're missing tags, feel free to submit a pull request that adds a tags-only* file to the examples directory, and I can rebuild the tags file, including the new tags.
* By "tags-only", I ask that you strip the file of content other than the metadata headers, if that's possible, in the interests of keeping the source tree reasonably small. See other test images for examples.
Before you embark on this journey, make sure you've read ExifTool's Fine Documentation, especially item #3 on this page. What you want done could very well be a (short!) single exiftool command.
See this conversation for more details.
How do you make this work with electron?
This package will spawn exiftool
external processeses, which means the exiftool-vendored.pl
and exiftool-vendored.exe
packages should be included in your asar exclusions. Note also that __dirname
while within an asar package after webpacking will be invalid. (See #17)
As with all native modules, make sure you add node_modules/exiftool-vendored.*
to your externals. See webpack-node-externals.
Update your exiftoolArgs.