How to prevent SVG Image from caching

2005-05-09 Thread Amita Rathore
I am using data scheme to insert an image. like this :             The image gets cached and the same image is displayed even after I  change the value for xlink:href. I am resetting the cache also using :org.apache.fop.image.FopImageFactory.resetCache();         What should be done to avoid

SV: How to prevent SVG Image from caching

2005-05-09 Thread lars.bjerges
Rathore [mailto:[EMAIL PROTECTED] Skickat: den 10 maj 2005 06:16 Till: fop-users@xmlgraphics.apache.org Ämne: How to prevent SVG Image from caching   I am using data scheme to insert an image. like this :             The image gets cached and the same image is displayed even after I

Re: How to prevent SVG Image from caching

2005-05-10 Thread Chris Bowditch
Amita Rathore wrote: I am using data scheme to insert an image. like this : http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="542px" height="506px"> data:image/gif;base64,1QMMA..."; /> Well I believe the problem is that the image is inside the SVG and ther

Re: How to prevent SVG Image from caching

2005-05-10 Thread Amita Rathore
e: How to prevent SVG Image from caching Amita Rathore wrote: > > I am using data scheme to insert an image. like this : > > >     > xmlns:xlink="http://www.w3.org/1999/xlink" width="542px" height="506px"> >     > xlink:href="&

Re: How to prevent SVG Image from caching

2005-05-10 Thread Jeremias Maerki
You need an RFC2397 protocol handler for that. You can find at least one in the mailing list archives: http://marc.theaimsgroup.com/?l=fop-user&w=2&r=1&s=RFC2397&q=b On 10.05.2005 10:32:52 Amita Rathore wrote: > Thanks Chris, > > Is there any way I can include the image without using svg ? > Or I

Re: How to prevent SVG Image from caching

2005-05-11 Thread Amita Rathore
sers To fop-users@xmlgraphics.apache.org cc Subject Re: How to prevent SVG Image from caching You need an RFC2397 protocol handler for that. You can find at least one in the mailing list archives: http://marc.theaimsgroup.com/?l=fop-user&w=2&r=1&s=RFC2397&q=b On 1

Re: How to prevent SVG Image from caching

2005-05-12 Thread Jeremias Maerki
No idea. The error message would indicate that the image contained in the URL is not a valid JPEG file. But maybe there's something else that's not right. Can you send me your FO file to test? On 12.05.2005 08:27:58 Amita Rathore wrote: > I followed your steps and its not working > I get exceptio

Re: How to prevent SVG Image from caching

2005-05-12 Thread Amita Rathore
AIL PROTECTED]> 05/12/2005 12:40 PM Please respond to fop-users To fop-users@xmlgraphics.apache.org cc Subject Re: How to prevent SVG Image from caching No idea. The error message would indicate that the image contained in the URL is not a valid JPEG file. But maybe t

Re: How to prevent SVG Image from caching

2005-05-12 Thread Jeremias Maerki
know any way with which I can verify if I am getting proper data. > > Thanks a ton for your help :-) > > > > > Jeremias Maerki <[EMAIL PROTECTED]> > 05/12/2005 12:40 PM > Please respond to > fop-users > > > To > fop-users@xmlgraphics.apache.

Re: How to prevent SVG Image from caching

2005-05-12 Thread Daniel Noll
Jeremias Maerki wrote: You're welcome. The only way to verify is to decode the URL and save the extracted data to a file which will then be a normal JPEG file (or whatever). To do this, just create a small program which builds a java.net.URL instance from the data URL, then get the InputStream by c

Re: SV: How to prevent SVG Image from caching

2005-05-10 Thread Amita Rathore
(); <[EMAIL PROTECTED]> 05/10/2005 10:44 AM Please respond to fop-users To cc Subject SV: How to prevent SVG Image from caching If you´re using (at least) 0.20.5 you can call: org.apache.fop.image.FopImageFactory.resetCache()   Hälsningar   Lars Bjerges Team V