J-ExifTool v0.0.11

Today I’ve released version 0.0.11 of J-ExifTool. After more than 10 years this release does not add any new functionality but is mainly a long overdue maintenance release:

  • Java 17: this version is built with and for Java 17 [BREAKING CHANGE]
  • A lot of boilerplate code was replaced with Lombok
  • General code cleanup
  • Eclipse configuration removed from git

The jar is not yet on the maven repo due to it not supporting my Bitbucket username.

The new jar (+ sources) can be downloaded from BitBucket.

For the record only: v0.0.11 is commit c6d76be.

Using ExifTool from Lightroom

A while ago I started testing Adobe Lightroom to process my photo’s and so far I’m pretty happy with it.

Even though it can handle some Exif metadata changes when exporting, I somehow missed the power of ExifTool and thus I started looking for a way to integrate it. There is somewhere on the internet a plugin, but you’ve got to pay for it so I looked further to find a cheaper way to do it.

And so I wrote myself a little export action script for Windows.

Step 1: find your export action folder

This is rather simple, by default it should be in C:\Users\<you>\AppData\Roaming\Adobe\Lightroom\Export Actions
However, if you’re a bit special, you can find it back by following the steps:

  1. Select a picture in your catalog and click the Export button (Library view)
  2. Scroll to the bottom of the screen that just opened and open the “After Export” dropdown and click on “Go To Export Action Folder Now”

 

Step 2: Download ExifTool and put the executable in this folder

It’s probably not the best place to store the executable, but this way you’ll also back-up the executable when backing up your settings. It’s best to rename the exiftool(-k).exe file to just exiftool.exe.

 

Step 3: Create the .bat

Create an empty text file and name it something like mySuperAction.bat  (name it like you want, just make sure it’s a .bat and not a .txt).

Past the following code in the .bat file:

@echo off
echo Processing Images
:loop
if not exist %1 exit
if exist %1 call "C:\Users\you\AppData\Roaming\Adobe\Lightroom\Export Actions\exiftool.exe" -overwrite_original -software=ExifTool %1
shift
goto loop
:endloop

 

Adapt the call to exiftool to your likings, this example will just overwrite the Software tag with ExifTool. Also don’t forget to update the path to exiftool in the script.

 

Have fun shopping.

J-ExifTool v0.0.9

Today I’ve released version 0.0.9 of J-ExifTool. This release doesn’t add new features, but it’s more reliable so I highly suggest the upgrade:

  • Maven support ! It’s not in a public repository (yet), but it’s one step closer to using J-ExifTool in a maven project ;)
  • Buffers are more reliable
  • Some tests are re-written

The new jar can be downloaded from BitBucket.

For the record only: v0.0.9 is commit a780161.

J-ExifTool v0.0.8

Today I’ve released version 0.0.8 of J-ExifTool. This release adds new functionalities and provides some bug fixes:

  • #8: Delete all exif tags
  • #12: extract thumnail image
  • #15: it’s now possible to read exiftool path from environment variable
  • Improved reading out the command line buffer (no more lost/split/incorrect values, tests are more stable now)

Since release v0.0.5 you’ll need the Apache Commons Exec library in your classpath. I’ve added a new lib folder on BitBucket which includes this new library or you can download the new library from Apache.

The new jar can be downloaded from BitBucket.

For the record only: v0.0.8 is commit 2f4414f.

J-ExifTool v0.0.7

Today I’ve released version 0.0.7 of J-ExifTool. This only provides some bug fixes:

 

If you have encoding issues then try changing the System Property be.pw.jexif.internal.constants.ExecutionConstant.EXIFTOOLCLIENCODING

By default, UTF-8 will be used on Linux/Mac and Cp850 on Windows.

Since release v0.0.5 you’ll need the Apache Commons Exec library in your classpath. I’ve added a new lib folder on BitBucket which includes this new library or you can download the new library from Apache.

The new jar can be downloaded from BitBucket.

For the record only: v0.0.7 is commit af87078.