1 parent ee47321 commit d5b441bCopy full SHA for d5b441b
1 file changed
components/formats-gpl/src/loci/formats/in/NDPISReader.java
@@ -281,8 +281,7 @@ else if (key.startsWith("Image")) {
281
282
private boolean isPyramidResolution(int readerIndex, int coreIndex) {
283
int pyramidHeight = ((NDPIReader) readers[readerIndex].getReader()).getPyramidHeight();
284
- return (hasFlattenedResolutions() && coreIndex < pyramidHeight) ||
285
- (!hasFlattenedResolutions() && coreIndex == 0);
+ return coreIndex < pyramidHeight;
286
}
287
288
0 commit comments