]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Force PNG images to use the codec to determine the resolution as long as this is...
authorJeremias Maerki <jeremias@apache.org>
Mon, 15 Aug 2005 08:49:41 +0000 (08:49 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 15 Aug 2005 08:49:41 +0000 (08:49 +0000)
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

index fcbfebdfb73ddc72decb90a70e78440caed040a7..4fd2e4acf08d8839d135328998f8fae1603c3ae1 100644 (file)
@@ -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. 
     }
 
     /**