Ticket #458 (closed defect: fixed)
Opened 2010-01-11T14:01:26-06:00
Last modified 2010-07-13T17:01:07-05:00
Bio-Formats Exporter drops metadata for non-imported images
Reported by: | curtis | Owned by: | melissa |
---|---|---|---|
Priority: | minor | Milestone: |
|
Component: | plugins | Severity: | serious |
Keywords: | Cc: | tinevez@… | |
Blocked By: | Blocking: |
Description
The Bio-Formats Exporter does not preserve metadata when saving unless the image was opened with the Bio-Formats Importer. To reproduce:
- File > Open Samples > Mitosis
- Plugins > LOCI > Bio-Formats Exporter (e.g., save to OME-TIFF)
- Close all open windows
- Plugins > LOCI > Bio-Formats Importer (select the saved OME-TIFF)
- The image calibration has been lost
The problem is that the Exporter propagates the IMetadata from the opened image if it is present (from the Importer), but if one does not exist it synthesizes a minimal one, excluding any metadata such as image calibration.
The fix is to populate any metadata available from ImageJ itself, particularly image calibration, and perhaps other information such as image labels.