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.jav

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.

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 b

Re: ImageTranscoder

2002-05-16 Thread Jun Inamori
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 pretty > good one, the one I referenced earlier is also pretty good > and very standard. While I don't understand wh

Re: ImageTranscoder

2002-05-16 Thread Thomas E Deweese
> "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 pretty good one, the one I >> referenced earlier is also

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

Re: ImageTranscoder

2002-05-14 Thread Jun Inamori
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. Thank you for your kind reply. In these days, I was think

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 >> ca

Re: ImageTranscoder

2002-05-10 Thread Jun Inamori
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 to it. The big problem is... The sources in

Re: ImageTranscoder

2002-05-09 Thread Jun Inamori
ge.resources.Messages; import org.apache.batik.ext.awt.image.codec.PNGEncodeParam; import org.apache.batik.ext.awt.image.codec.PNGImageEncoder; // By Jun Inamori ([EMAIL PROTECTED]) import java.awt.*; import java.awt.geom.*; import java.awt.image.*; /** * This class is an ImageTranscoder that produ

Re: ImageTranscoder

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

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 OOP-Res