From: Kelly Campbell Date: Fri, 19 Jan 2001 16:03:16 +0000 (+0000) Subject: Changed XObject to use the stream default filter list X-Git-Tag: fop-0_17_0~87 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2c3ba8eb9314e4b8fd92c63b4f831b8b36218233;p=xmlgraphics-fop.git Changed XObject to use the stream default filter list git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193974 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/pdf/PDFXObject.java b/src/org/apache/fop/pdf/PDFXObject.java index 0009c75fe..4d043475f 100644 --- a/src/org/apache/fop/pdf/PDFXObject.java +++ b/src/org/apache/fop/pdf/PDFXObject.java @@ -108,7 +108,9 @@ public class PDFXObject extends PDFObject { PDFStream imgStream = new PDFStream(0); imgStream.setData(fopimage.getBitmaps()); - imgStream.addFilter(new FlateFilter()); + // imgStream.addFilter(new FlateFilter()); + imgStream.addDefaultFilters(); + String dictEntries = imgStream.applyFilters(); String p = this.number + " " + this.generation + " obj\n";