diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/apache/fop/image/analyser/ImageReader.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/apache/fop/image/analyser/ImageReader.java b/src/org/apache/fop/image/analyser/ImageReader.java index 7460a5b22..c1a5ac285 100644 --- a/src/org/apache/fop/image/analyser/ImageReader.java +++ b/src/org/apache/fop/image/analyser/ImageReader.java @@ -23,6 +23,12 @@ public interface ImageReader { /** * Verify image type. + * If the stream does not contain image data expected by + * the reader it must reset the stream to the start. This + * is so that the next reader can start reading from the start. + * The reader must not close the stream unless it can handle + * the image and it has read the information. + * * @param bis Image buffered input stream * @return true if image type is the handled one * @exception IOException io error |