diff --git a/components/formats-gpl/src/loci/formats/in/CellSensReader.java b/components/formats-gpl/src/loci/formats/in/CellSensReader.java index d1f0558e981..04cf9190152 100644 --- a/components/formats-gpl/src/loci/formats/in/CellSensReader.java +++ b/components/formats-gpl/src/loci/formats/in/CellSensReader.java @@ -1241,7 +1241,7 @@ private void parseETSFile(RandomAccessInputStream etsFile, String file, int s) etsFile.skipBytes(4 * 10 - color.length); // background color int componentOrder = etsFile.readInt(); - bgr[s] = componentOrder == 1; + bgr[s] = componentOrder == 1 && compressionType.get(compressionType.size() - 1) == RAW; boolean usePyramid = etsFile.readInt() != 0; ms.rgb = ms.sizeC > 1;