You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Eric SCHAEFFER <es...@posterconseil.com> on 2000/08/11 16:47:49 UTC

Images

I've commited Pankaj work on image headers.

There's a new package (org.apache.fop.image.analyser), containing classes
that read image headers from an InputStream.
org.apache.fop.image classes now use this package to test the image type and
read the image width and height.
Thus, images are not loaded any more during the layouting process.

To make FOP able to read other image types, you need to implement
org.apache.fop.image.FopImage and org.apache.fop.image.analyser.ImageReader.
There's abstract classes to make it easier.
The factories (org.apache.fop.image.FopImageFactory and
org.apache.fop.image.analyser.ImageReaderFactory) still need configuration
files...

Eric.