From 2c3ba8eb9314e4b8fd92c63b4f831b8b36218233 Mon Sep 17 00:00:00 2001 From: Kelly Campbell Date: Fri, 19 Jan 2001 16:03:16 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/pdf/PDFXObject.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"; -- 2.39.5