Fireworks PNGs are non-standard PNGs. So you're right, it isn't a FOP problem.
You can always write your own codec if you can get your hands on the Fireworks PNG specification and submit a patch. Not a simple task I imagine, because they seem to include not only bitmap data but also vector graphics. Maybe Adobe has a Java library for reading those. But you're probably better off converting those images to real PNGs or SVG. On 15.05.2007 08:43:31 Raphael Parree wrote: > Hi, > > I am in process of moving to Fireworks CS3 for imaging and when saving in > the PNG from Fireworks (Fireworks PNG), FOP (trunk version from around > 20061120) throws an exception. (java.io.EOFException see whole stacktrace > below. > > When saving from Firworks in Flattened PNG FOP is able to show. > > I understand this is a Fireworks "problem" and not a FOP problem. But is > there any change that FOP would support this type? What would need to be > done to support this Firworks Image type? > > (The reason, when saving in Flattened mode you loose the "objects"/layers > etc in your drawing, editing it then later is difficult) > > > Tx., > > Raphael > > > java.io.EOFException > at > javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.jav > a:330) > at java.io.DataInputStream.readUTF(DataInputStream.java:565) > at > javax.imageio.stream.ImageInputStreamImpl.readUTF(ImageInputStreamImpl.java: > 309) > at > com.sun.imageio.plugins.png.PNGImageReader.parse_iTXt_chunk(PNGImageReader.j > ava:443) > at > com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java: > 647) > at > com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:130 > 9) > at > com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1579) > at > org.apache.fop.image.ImageIOImage.loadBitmap(ImageIOImage.java:96) > at > org.apache.fop.image.ImageIOImage.loadDimensions(ImageIOImage.java:66) > at > org.apache.fop.image.AbstractFopImage.load(AbstractFopImage.java:160) > > at > org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:73) > at org.apache.fop.fo.FObj.processNode(FObj.java:118) > at > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav > a:321) > at > org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185) > at > org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527) > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
