Hi Thomas, > > By the way, I think it's time for PNGTranscoder to use: > > IndexImage.getIndexedImage() > > to convert the SVG to the indexed PNG. > > Done, current CVS rasterizer has '-indexed' which will write a > 256 color PNG. For your test image it is very comparable > to GIMP's output.
That's great, thank you. I also dived into the source of apps/svgbrowser/JSVGViewerFrame.java I think I can update it to include your new PNGTranscoder. When the user tries to export the SVG as JPEG, the current implementation pops up the dialog with JSlider, by which s/he can select the quality. I will add the similar dialog with JCheckBox, i.e. if the user checks it, the SVG will be exported as the indexed PNG. This weekend will be enough for this work. As soon as it is available, I'll send it to you. Happy Java programming! --------------------------- Jun Inamori OOP-Reserch E-mail: [EMAIL PROTECTED] URL: http://www.oop-reserch.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]