Re: ImageTranscoder

2002-06-24 Thread Jun Inamori
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

Re: ImageTranscoder

2002-06-24 Thread Jun Inamori
Hi Thomas, Now Squiggle (aka SVGBrowser) can export SVG as the indexed PNG. Based on: apps/svgbrowser/JPEGOptionPanel.java I added: apps/svgbrowser/PNGOptionPanel.java which is the JOptionDialog with the JCheckBox. To pop up it, I slightly modified: apps/svgbrowser/JSVGViewerFrame.java

Re: ImageTranscoder

2002-06-21 Thread Jun Inamori
Hi Thomas, On May16, 2002 08:40 -0400, Thomas E Deweese wrote: JI == Jun Inamori [EMAIL PROTECTED] writes: JI Hi Thomas, Correct GIMP creates palette that adapts to the contents of the image. There are many ways of doing this, I don't know what method GIMP uses but it is probably a

Re: ImageTranscoder

2002-05-15 Thread Thomas E Deweese
JI == Jun Inamori [EMAIL PROTECTED] writes: JI Dear Thomas, A good color palette will put less pressure on the dithering function, so given a good palette you will get a significantly better image given the same dithering function. The exact difference depends on the image. JI Thank you

Re: ImageTranscoder

2002-05-13 Thread Thomas E Deweese
JI == Jun Inamori [EMAIL PROTECTED] writes: JI Hi Thomas, I'll see if I can put togeather at least the adaptive pallete part. I don't know how long it will take me to get around to this, so if you or some other enterprising programmer has a copy of Graphics Gems they can probably beat me

Re: ImageTranscoder

2002-05-09 Thread Jun Inamori
java.awt.image.IndexColorModel; /** * This class is an ttImageTranscoder/tt that produces a PNG image. * * @author a href=mailto:[EMAIL PROTECTED];Thierry Kormann/a * @version $Id: PNGTranscoder.java,v 1.9 2001/10/29 17:38:27 tkormann Exp $ */ public class PNGTranscoder extends ImageTranscoder

ImageTranscoder

2002-05-07 Thread Jun Inamori
Hi, Last week, I posted the new implementation of Transcoder, IndexedPNGTranscoder. But, I got no answer yet. Does anyone try it? By the way, I have a question. Is ImageTranscode Thread Safe? Thank you for your help. Happy Java programming! Jun Inamori