pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1598979 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/ExtractImages.java
Date Sun, 01 Jun 2014 12:36:39 GMT
Author: tilman
Date: Sun Jun  1 12:36:39 2014
New Revision: 1598979

URL: http://svn.apache.org/r1598979
Log:
PDFBOX-2101: get rid of cached image ASAP

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/ExtractImages.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/ExtractImages.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/ExtractImages.java?rev=1598979&r1=1598978&r2=1598979&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/ExtractImages.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/ExtractImages.java Sun Jun
 1 12:36:39 2014
@@ -200,6 +200,7 @@ public class ExtractImages
                     }
                     System.out.println( "Writing image:" + name );
                     image.write2file( name );
+                    image.clear(); // PDFBOX-2101 get rid of cache ASAP
                 }
                 // maybe there are more images embedded in a form object
                 else if (xobject instanceof PDXObjectForm)



Mime
View raw message