aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/image
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-08-23 16:07:26 +0000
committerJeremias Maerki <jeremias@apache.org>2005-08-23 16:07:26 +0000
commit2da2a980e2230bdd9f00f1b220b40337d718de98 (patch)
tree9a08d14ac9633b3d788686588b1d2bbd7d1ded9c /src/java/org/apache/fop/image
parent0c06011d4f128469576cefad5e674d4490400bc8 (diff)
downloadxmlgraphics-fop-2da2a980e2230bdd9f00f1b220b40337d718de98.tar.gz
xmlgraphics-fop-2da2a980e2230bdd9f00f1b220b40337d718de98.zip
Fixes a bug where the bitmaps were not loaded at all.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239424 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/image')
-rw-r--r--src/java/org/apache/fop/image/JAIImage.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/image/JAIImage.java b/src/java/org/apache/fop/image/JAIImage.java
index 624dbfcbc..a3e5a533c 100644
--- a/src/java/org/apache/fop/image/JAIImage.java
+++ b/src/java/org/apache/fop/image/JAIImage.java
@@ -61,6 +61,17 @@ public class JAIImage extends AbstractFopImage {
}
/**
+ * @see org.apache.fop.image.AbstractFopImage#loadBitmap()
+ */
+ protected boolean loadBitmap() {
+ if (this.bitmaps == null) {
+ loadImage();
+ }
+
+ return this.bitmaps != null;
+ }
+
+ /**
* Loads the image from the inputstream
*/
protected void loadImage() {