>>>>> "RW" == Ryan Worley <[EMAIL PROTECTED]> writes:

RW> PNG-8 is an 8-bit (256 color) PNG image.  I believe that Batik
RW> currently only supports PNG-24 (24-bit) PNG images.  For graphics
RW> that don't use more than 256 colors, it would be nice to have a
RW> PNG-8 option to keep the file size small.

    Well the problem is that it is _really_ easy to generate an image
with more than 256 colors with SVG.  Just anti-aliasing can introduce
lots of colors, add opacity and gradients and it's easy to go over 256
colors.

    If someone wanted to contribute a good adaptive pallete generator,
and a good quantizer (minimum Floyd-Steinberg) it would I think be
gladly accepted.  But there are already a number of special purpose
applications that will do a much better job of this than Batik
probably ever will.  Note that most dithering algs do a really bad job
with line art.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to