Thank you both for your help. I believe that the 'data:' will fit my needs, but I will attempt a custom scheme if that turns out to not work for my circustances.
On Wed, Jun 10, 2009 at 12:21 PM, Andreas Delmelle < [email protected]> wrote: > On 10 Jun 2009, at 16:43, Sam Fuqua wrote: > > Hi Sam > > I know that external-graphics can be added in a couple different ways. >> One is to have the image on a file system and the other is to use a URL. >> Is there any way to obtain the external-graphic through a bytestream? Or >> any way to dump a binary file into the FO to be rendered? Any help or input >> is appreciated. >> > > Besides using the 'data:' URI scheme, as Manuel suggested, another > possibility is to 'invent' a URI scheme of your own. If you implement a > custom javax.xml.transform.URIResolver and register it with FOP, you can > basically do anything to resolve URIs with a specialized prefix of your own > choosing. > > To register it with FOP, this can only be done when embedding, as described > here: > http://xmlgraphics.apache.org/fop/trunk/embedding.html#fop-factory > > > HTH! > > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Sam Fuqua ΣΝ ΘΗ 454
