Skip to content

Commit fde11a9

Browse files
Read input files with unflattened resolutions (i.e. keep pyramid hierarchy)
This better matches what bioformats2raw would have produced.
1 parent 76f05a9 commit fde11a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/glencoesoftware/pyramid/PyramidFromDirectoryWriter.java

+1
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ else if (layoutVersion != 3) {
965965
else if (imageFile != null && !imageFile.isEmpty()) {
966966
try (ChannelSeparator imageReader = new ChannelSeparator()) {
967967
IMetadata srcMetadata = service.createOMEXMLMetadata();
968+
imageReader.setFlattenedResolutions(false);
968969
imageReader.setMetadataStore(srcMetadata);
969970
imageReader.setId(imageFile);
970971
xml = service.getOMEXML(srcMetadata);

0 commit comments

Comments
 (0)