When using the digital image noise reduction software "Noiseware"
parts of the image metadata contained in the exif header is corrupted.
This can easily be circumvented by copying the image metadata from the
original file into the output file using jhead.
Although the utility jhead is not needed to complete this project, for your reference information about it can be found here:
[url removed, login to view]~mwandel/jhead/
Specify a directory as a command line parameter to the script.
If no parameter is given, then assume the current directory.
Within this directory, find all files with ".jpg" extension.
(no recursion, and no entry into sub-directories)
Among these files, find all files with names that end in "_nw"
For each of these files, derive the corresponding original file name by stripping the trailing "_nw" from the filename and then run the command
C:path_to_jheadjhead –te [url removed, login to view] [url removed, login to view]
Note: there is no line-break in the above command. It only looks that way because of the editor used at [url removed, login to view]
This command will extract the exif header from [url removed, login to view] and insert it into [url removed, login to view] while keeping the image data intact.