However, I have a problem with the saveAsJpeg(String path) method. For some reason (that I do not know) its implementation when saving ImagePlus.GRAY16 and ImagePlus.GRAY32 image instances explicitly excludes them from updating their corresponding FileInfo object instances:

The FIleSaver.saveAsJpeg() method is working as expected. It assumes 16-bit and 32-bit being saved in JPEG format are being exported for publication so it does not update the FileInfo. The FileInfo will be updated if you save in TIFF format.

Thank you for taking time to reply. So, having your design and implementation as they are, what method from the ImageJ API do I have to use if I need to update FileInfo on 16-bit and 32-bit Jpegs saved with FIleSaver(…).saveAsJpeg(…) method?