Hello,
I hope someone will be able to save my life.
I am using FOP to generate a pdf document which must contains an image. 
This image does not come from a file but from a generated JPEG image (receive 
some color indexed black and white image as a byte array that is then converted 
as JPEG).
I am searching the way I can include that image in the generated PDF.
To achieve that I need to use an SVG image with embeded JPEG image using the 
xlink:href="data...." syntax.
Does anybody knows how I can go from my JPEG image bytes as a String encoded in 
base64 to an embeded svg in a pdf docuement?
I am successful at generating the SVG xml fragment from Java (when I save the 
fragment to a file and open it with a svg viewer I can see the image) but I 
cannot find how I can pass it to my XSL-FO file for PDF generation.
Hope someone will help me with some code example.
Thank you.

<




      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to