Skip to content

Commit

Permalink
Latest sambox
Browse files Browse the repository at this point in the history
  • Loading branch information
torakiki committed Jan 15, 2016
1 parent a535af9 commit 6bd0cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@
<jdepend.version>2.9.1</jdepend.version>
<hibernate-validator.version>4.2.0.Final</hibernate-validator.version>
<hamcrest.version>1.3</hamcrest.version>
<sambox.version>1.0.0.M18-SNAPSHOT</sambox.version>
<sambox.version>1.0.0.M18</sambox.version>
<xmlgraphics.version>2.0.1</xmlgraphics.version>
<bouncycastle.version>1.53</bouncycastle.version>
<bouncycastle.version>1.54</bouncycastle.version>
<!-- so that build is not platform dependent via encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<guava.version>19.0-rc2</guava.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private void optimizeImages(PDPage page) throws TaskException {
if (cache.containsKey(hash)) {
newImage = cache.get(hash).get();
} else {
newImage = PDImageXObject.createFromFile(tmpImageFile);
newImage = PDImageXObject.createFromFileByExtension(tmpImageFile);
cache.put(hash, new SoftReference<>(newImage));
}

Expand Down

0 comments on commit 6bd0cf4

Please sign in to comment.