From: Jeremias Maerki Date: Mon, 15 Aug 2005 08:49:41 +0000 (+0000) Subject: Force PNG images to use the codec to determine the resolution as long as this is... X-Git-Tag: fop-0_90-alpha1~390 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d709e9fea4681c01091b7f73219d47303ded571;p=xmlgraphics-fop.git 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 --- 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. } /**