diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-08-15 08:49:41 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-08-15 08:49:41 +0000 |
commit | 5d709e9fea4681c01091b7f73219d47303ded571 (patch) | |
tree | 539d9fe80e6d76e01a40fbdb993ea07dfbce763b | |
parent | f4c87e282965e1c5581dfe590795e3fbf64ee6f0 (diff) | |
download | xmlgraphics-fop-5d709e9fea4681c01091b7f73219d47303ded571.tar.gz xmlgraphics-fop-5d709e9fea4681c01091b7f73219d47303ded571.zip |
Force PNG images to use the codec to determine the resolution as long as this is not implemented in the PNGReader.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232774 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/image/PNGImage.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/image/PNGImage.java b/src/java/org/apache/fop/image/PNGImage.java index fcbfebdfb..4fd2e4acf 100644 --- a/src/java/org/apache/fop/image/PNGImage.java +++ b/src/java/org/apache/fop/image/PNGImage.java @@ -39,6 +39,7 @@ public class PNGImage extends BatikImage { */ public PNGImage(FopImage.ImageInfo imgReader) { super(imgReader); + this.loaded = 0; //TODO The PNGReader cannot read the resolution, yet. } /** |