ExifTool Forum

ExifTool => Developers => Topic started by: bjashari on October 07, 2020, 04:14:02 AM

Title: Exiftool in Java
Post by: bjashari on October 07, 2020, 04:14:02 AM
I want to extract thumbnail from an .ARW file and i'm using the following code from the picture.

But instead of getting thumbnail data stored into val , the val has the following value = (Binary data 4813 bytes, use -b option to extract)

Does anyone know how to set -b option???

Thanks.
Title: Re: Exiftool in Java
Post by: Phil Harvey on October 07, 2020, 09:21:07 AM
This is a question for the person that wrote the Java wrapper that you are using.

- Phil
Title: Re: Exiftool in Java
Post by: StarGeek on October 07, 2020, 10:15:18 AM
Is the wrapper you're using exiftool-lib?  If so, would the Executor (https://www.javadoc.io/doc/com.github.mjeanroy/exiftool-lib/2.2.1/com/thebuzzmedia/exiftool/ExifToolBuilder.html) be the part to look at?  From that page:
QuoteExecutor is the component responsible for executing command line on the system. Most of the time, the default should be fine, but if you want to tune the used withExecutor, then this property is for you.