org.apache.fop.image.analyser
Interface ImageReader
- BMPReader, EMFReader, EPSReader, GIFReader, JPEGReader, PNGReader, SVGReader, TIFFReader, XMLReader
public interface ImageReader
ImageReader objects read image headers to determine the image size.
$Id: ImageReader.java 426576 2006-07-28 15:44:37Z jeremias $
verifySignature
public FopImage.ImageInfo verifySignature(String uri,
InputStream bis,
FOUserAgent ua)
throws IOException
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.
uri
- URI to the imagebis
- Image buffered input streamua
- The user agent
true
if image type is the handled one
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.