diff --git a/components/formats-bsd/src/loci/formats/in/DicomReader.java b/components/formats-bsd/src/loci/formats/in/DicomReader.java index 27989bd1d2e..aba35119fd4 100644 --- a/components/formats-bsd/src/loci/formats/in/DicomReader.java +++ b/components/formats-bsd/src/loci/formats/in/DicomReader.java @@ -672,6 +672,9 @@ else if (child.attribute == OPTICAL_PATH_DESCRIPTION) { case EXTENDED_DEPTH_OF_FIELD: edf = tag.getStringValue().equalsIgnoreCase("yes"); break; + case TRAILING_PADDING: + decodingTags = false; + break; default: in.seek(tag.getEndPointer()); }