aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf/PDFImageXObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFImageXObject.java')
-rw-r--r--src/java/org/apache/fop/pdf/PDFImageXObject.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFImageXObject.java b/src/java/org/apache/fop/pdf/PDFImageXObject.java
index 1c28cb2a7..e472efbea 100644
--- a/src/java/org/apache/fop/pdf/PDFImageXObject.java
+++ b/src/java/org/apache/fop/pdf/PDFImageXObject.java
@@ -22,6 +22,7 @@ package org.apache.fop.pdf;
// Java
import java.io.IOException;
import java.io.OutputStream;
+import java.util.Set;
/* modified by JKT to integrate with 0.12.0 */
/* modified by Eric SCHAEFFER to integrate with 0.13.0 */
@@ -171,4 +172,14 @@ public class PDFImageXObject extends PDFXObject {
return pdfimage.multipleFiltersAllowed();
}
+ @Override
+ public void getChildren(Set<PDFObject> children) {
+ super.getChildren(children);
+ PDFICCStream pdfICCStream = pdfimage.getICCStream();
+ if (pdfICCStream != null) {
+ children.add(pdfICCStream);
+ pdfICCStream.getChildren(children);
+ }
+ }
+
}