I would like to use this wrapper for extracting JPG previews from RAW files and use the stay-open feature to increase performance:
-if $jpgfromraw -b -overwrite_original -jpgfromraw -w "" + jpgname + "" -execute -if $previewimage -b -overwrite_original -previewimage -w "" + jpgname +"";
it would be best to be able to get the result directly as bufferedImage or bytestream without being forced to let exiftool write an intermediate jpg (performance)