Ticket #605 (closed defect: fixed)
Opened 2010-11-19T10:40:50-06:00
Last modified 2010-11-23T19:31:00-06:00
OMEXMLMetadata objects used by OMETiffWriter can not be re-used
Reported by: | melissa | Owned by: | melissa |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | bio-formats | Severity: | serious |
Keywords: | Cc: | cfuller@… | |
Blocked By: | Blocking: |
Description
This will fail:
OMEXMLMetadata meta = //; ImageWriter writer = new ImageWriter(); writer.setMetadataRetrieve(meta); writer.setId("foo.ome.tiff"); writer.saveBytes(0, image); writer.close(); writer.setMetadataRetrieve(meta); writer.setId("bar.ome.tiff"); writer.saveBytes(0, image); writer.close();
because the writer strips out the (required) BinData element.
Change History
comment:1 Changed 2010-11-23T19:31:00-06:00 by melissa
- Status changed from new to closed
- Resolution set to fixed
(In [7239]) Remove BinData elements from a copy of the writer's MetadataRetrieve, instead of modifying the MetadataRetrieve directly. Closes #605.