From 5d709e9fea4681c01091b7f73219d47303ded571 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 15 Aug 2005 08:49:41 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/image/PNGImage.java | 1 + 1 file changed, 1 insertion(+) 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. } /** -- 2.39.5