Main Menu

Exiftool in Java

Started by bjashari, October 07, 2020, 04:14:02 AM

Previous topic - Next topic

bjashari

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.

Phil Harvey

This is a question for the person that wrote the Java wrapper that you are using.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

Is the wrapper you're using exiftool-lib?  If so, would the Executor 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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype