Re: Bug in PNGImageEncoder

2003-12-09 Thread Sven de Marothy
On Sat, 2003-12-06 at 13:34, Thomas DeWeese wrote: > Since that time it has become clear that Apache is moving > towards a much more rigid stance on this issue. So I > need to ask if you have an Apache CLA on file. No, but if you feel it's required, I'll fax one over right away. No problem. (

Bug in PNGImageEncoder

2003-12-05 Thread Sven de Marothy
Hello.. About a month back I submitted a bug I found to this list.. No response..? So I'm now wondering if the SVGGraphics2D is really supposed to crash on an exception when encoding a 16-bit bitmap? I'd sure like to know and if this is not a 'feature', was there a problem with the short fix I

Patch for bug in PNGImageEncoder

2003-11-12 Thread Sven de Marothy
Sorry, sent the last mail prematurely by accident, Here is a patch for the bug: --- PNGImageEncoder.java2003-11-11 08:37:21.0 +0100 +++ org/apache/batik/ext/awt/image/codec/PNGImageEncoder.java 2003-11-11 15:21:52.0 +0100 @@ -296,6 +296,7 @@ private int colorType;

Bug in PNGImageEncoder

2003-11-12 Thread Sven de Marothy
Hi, I'm new to Batik, but I found what seems to be a bug in: org/apache/batik/ext/awt/image/codec/PNGImageEncoder.java The encoder throws an exception if the image color channels have different bit-depths. This is probably a good sanity-check in most cases, but 16-bit RGB color modes usually ha