xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <lars.bjer...@fsb.se>
Subject SV: How to prevent SVG Image from caching
Date Tue, 10 May 2005 05:14:04 GMT
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