Title: RE: inculde image
 
-----Original Message-----
From: Hoang Nam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 10:33
To: [EMAIL PROTECTED]
Subject: Re: inculde image

 If the image is changed, will it be changed in the Pdf document ? Is the image embbeded in the Pdf Docuemtn or only a link to the image ?
 
The image is embedded in the pdf document and I guess it behaves like other svg images. I think you can use something like:
 
<fo:block>
<fo:instream-foreign-object>
<svg:svg xmlns:svg=http://www.w3.org/2000/svg  width="100px" height="100px">
<svg:title>Embedded png image</svg:title>
<image width="100" height="100" x="0" y="100" xlink:href="data:image/png;base74,Place base64 endoded png image here"/>
 
 </svg:svg>
</fo:instream-foreign-object>
</fo:block>
 
Tore
 
Thanks ! 
----- Original Message -----
Sent: Thursday, November 15, 2001 10:08 AM
Subject: RE: inculde image

 
-----Original Message-----
From: Clute, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 20:09
To: '[EMAIL PROTECTED] '
Subject: RE: inculde image

 What is making your image dynamic?

When you mean dynamic, do you mean the URI to the image could change based on the state of the app? If so, there is no way to do it in the stock FOP. I was able to add dynamic images that were barcodes based upon the page number, but I had to modify FOP to do it. 

I guess he's generating the image in the same servlet that generates to pdf document and thus have no uri for the image. 

What is your images of? Maybe you can use SVG?  

I guess SVG is the way to go. I'm not sure here, but vaguely remeber something about the possibility to embed a base64 encoded gif/jpeg/whatever image into the SVG and that batik handles it. That could be a solution. 

Tore

 

-----Original Message-----
From: Maneshi Tuli
To: [EMAIL PROTECTED]
Sent: 11/14/2001 2:01 PM
Subject: inculde image



I have to inculde dynamic image into fop , i,e  I am generating that
image through servlet .
how can i do that into FOP

plz give me any suggestion
thanks




--

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



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

Reply via email to