ome / bioformats

Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the Open Microscopy Environment. Bio-Formats is released under the GNU General Public License (GPL); commercial licenses are available from Glencoe Software.
https://www.openmicroscopy.org/bio-formats
GNU General Public License v2.0
381 stars 241 forks source link

FIJI plugin: Running Bio-Formats Exporter as a macro appends to existing file by default #4221

Open dgault opened 3 months ago

dgault commented 3 months ago

See imagesc threads here and here

When running the Bio-Formats Exporter via the Plugin GUI and selecting an existing file, the user is prompted to confirm that they wish to overwrite the existing file. This matches the behaviour when saving via the command line tools. However when running the Exporter via a macro such as below the data is instead appended to the end of the existing file.

run("Bio-Formats Exporter", "save=/tmp/test.ome.tif export compression=Uncompressed");
imagesc-bot commented 3 months ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/macro-behaviour-of-bio-formats-exporter/100376/5