Skip to content

Commit 700567e

Browse files
committed
PDFBOX-6171: missing decode isn't an error
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1932091 13f79535-47bb-0310-9956-ffa450edef68
1 parent fa7cb59 commit 700567e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/SampledImageReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,10 +772,10 @@ private static float[] getDecodeArray(PDImage pdImage) throws IOException
772772
return decode;
773773
}
774774
}
775+
LOG.error("decode array {} not compatible with color space, using default", cosDecode);
775776
}
776777

777778
// use color space default
778-
LOG.error("decode array {} not compatible with color space, using default", cosDecode);
779779
return pdImage.getColorSpace().getDefaultDecode(pdImage.getBitsPerComponent());
780780
}
781781
}

0 commit comments

Comments
 (0)