Skip to content

Commit

Permalink
Avoid double-calculation of md5
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Apr 13, 2023
1 parent 830b61c commit 948d427
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ReadTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ export class ReadTask extends ExifToolTask<Tags> {
args.push("-use", "MWG")
}
if (opts.includeImageDataMD5) {
args.push("-imagedatamd5")
// See https://exiftool.org/forum/index.php?topic=14706.msg79218#msg79218
args.push("-api", "requesttags=imagedatamd5")
}
// IMPORTANT: "-all" must be after numeric tag references (first reference
// in wins)
Expand Down

0 comments on commit 948d427

Please sign in to comment.