
Retrieve EXIF information
This script uses the EXIFutils command-line tools to retrieve the EXIF information for each incoming file and adds it to the metadata of that respective file.
You can find more information on these tools on http://www.hugsan.com/EXIFutils/index.html.
Information
Supported by: PowerSWITCH (MAC and WIN)
Language: JavaScript
Description:
This script reads the EXIF information of incoming images. You can define the list of fields you want to retrieve from the EXIF information in the properties of the Script Element. This allows you to use the same script in different flows in a different way.
Next, the EXIF information that was collected is added to a dataset in the job ticket of the processed image.
The following properties are defined in the script:
- EXIF utils path: select the folder where the binaries of EXIFutils are on the system.
- Dataset (EXIF): defines the dataset that will be generated with this script element.
- EXIF fields: defines the EXIF-fields that will be added to the data set (e.g. width, height, copyright).
Using this script
- Download and save the script on your computer: download script.
- Select the Script element in your PowerSWITCH flow and browse to the script in the Script package property.
or - Open the script in SWITCHscripter and change it to your needs .
Example flow
- Change and export Exif Image info
This flow shows how you can use EXIFutils to change the exif information of incoming images. Secondly, it exports the exif information and save it as an XML file.
