If you're talking about supplying your own InputStreams for certain
images in an XSL-FO file, that's quite easy. Please take a look at the
ServletContextURIResolver which should give you an idea how you could do
this:
http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/ServletContextURIResolver.java

The FopServlet shows how to use a special URIResolver:
http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java

In the example above we're mapping all URIs which start with
"servlet-context:" to fetch files (including images) from the
ServletContext. You can do something similar by defining your own
protocol prefix, like "myimage:" -> myimage:8723487.gif or whatever.

Is that what you need?

On 23.08.2006 15:07:09 Johannes Becker wrote:
> Hi,
> 
> I'm want to write (jpg)images from InputStreams into my Pdf. 
> 
> Is this possible with FOP 0.92?



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to