if you look here: http://www.widsets.com/forum/posts/list/287.page
(googled for "LUT has improper length")
you'll find it says: 'This error is due to an
internal bug on currently used JDKs ImageIO class'
what version of java do you have? May be worth updating. Or if you
can't update, then you'll have to change the format of the png.
Paul.
Dominic Brügger wrote:
I'm
getting an error when loading the attached PNG image (see below). The
image is available at the correct location.
Could the reason of the error be the transparent background? Or is it a
problem of FOP?
Regards
Dominic
2006-10-02 13:36:39,245 [main] ERROR
org.apache.fop.image.AbstractFopImage - Error while loading image: LUT
has improper length!
java.lang.IllegalArgumentException: LUT has improper length!
at
javax.imageio.ImageTypeSpecifier$Indexed.<init>(ImageTypeSpecifier.java:866)
at
javax.imageio.ImageTypeSpecifier.createIndexed(ImageTypeSpecifier.java:955)
at
com.sun.imageio.plugins.png.PNGImageReader.getImageTypes(PNGImageReader.java:1463)
at
com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1348)
at
com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1530)
at
org.apache.fop.image.ImageIOImage.loadBitmap(ImageIOImage.java:96)
[...]
2006-10-02 13:36:39,283 [main] ERROR org.apache.fop.fo.FONode - Cannot
read image dimensions: file:[...]/image_ext.png
2006-10-02 13:36:44,980 [main] ERROR
org.apache.fop.image.AbstractFopImage - Error while loading image: null
java.lang.NullPointerException
at
org.apache.fop.image.ImageIOImage.loadBitmap(ImageIOImage.java:86)
at
org.apache.fop.image.ImageIOImage.loadDimensions(ImageIOImage.java:66)
at
org.apache.fop.image.AbstractFopImage.load(AbstractFopImage.java:160)
at
org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1421)
[...]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|