aboutsummaryrefslogtreecommitdiffstats
path: root/src/java-1.4/org/apache/fop/image/ImageIOImage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java-1.4/org/apache/fop/image/ImageIOImage.java')
-rw-r--r--src/java-1.4/org/apache/fop/image/ImageIOImage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java-1.4/org/apache/fop/image/ImageIOImage.java b/src/java-1.4/org/apache/fop/image/ImageIOImage.java
index 3dddc05ad..8337a7413 100644
--- a/src/java-1.4/org/apache/fop/image/ImageIOImage.java
+++ b/src/java-1.4/org/apache/fop/image/ImageIOImage.java
@@ -56,6 +56,9 @@ public class ImageIOImage extends AbstractFopImage {
/** @see org.apache.fop.image.AbstractFopImage#loadBitmap() */
protected boolean loadBitmap() {
+ if (this.bitmaps != null) {
+ return true;
+ }
try {
inputStream.reset();
BufferedImage imageData = ImageIO.read(inputStream);