xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amita Rathore <arath...@in.ibm.com>
Subject Re: SV: How to prevent SVG Image from caching
Date Tue, 10 May 2005 06:59:31 GMT
I am calling resetCache(), snippet here :

                        org.apache.fop.image.FopImageFactory.resetCache();
                        org.apache.fop.apps.Driver driver2 = null;
                        driver2 = new org.apache.fop.apps.Driver();
                        driver2.reset();





<lars.bjerges@fsb.se> 
05/10/2005 10:44 AM
Please respond to
fop-users


To
<fop-users@xmlgraphics.apache.org>
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 Verktyg
* FöreningsSparbanken IT
105 34 Stockholm
( +46 (0)8 58 59 43 45
( +46 (0)70 95 27 774
-----Ursprungligt meddelande-----
Från: Amita Rathore [mailto:arathore@in.ibm.com] 
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 : 

<fo:instream-foreign-object> 
   <svg:svg xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="
http://www.w3.org/1999/xlink" width="542px" height="506px"> 
   <svg:image width="64" height="48" 
xlink:href="SRC="data:image/gif;base64,1QMMA..." /> 
   </svg:svg> 
</fo:instream-foreign-object> 

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 cachig of images. Thanks. 

Mime
View raw message