Transcoder as ContentHandler?

2004-02-26 Thread K. Ari Krupnikov
Is there a Batik equivalent of javax.xml.transform.sax.TransformerHandler, a class that can accept SAX events and transcode them into an image? TranscoderInput(XMLReader) doesn't do what I'm looking for -- it takes a reader and calls parse() on it. What I have is a class (not an XMLReader) tha

Re: Transcoder as ContentHandler?

2004-02-26 Thread Thomas DeWeese
K. Ari Krupnikov wrote: Is there a Batik equivalent of javax.xml.transform.sax.TransformerHandler, a class that can accept SAX events and transcode them into an image? No, but there isn't much point. Just build a Batik DOM (use our DOM Implementation) and pass that into the transcoders. SVG

Re: Transcoder as ContentHandler?

2004-02-26 Thread K. Ari Krupnikov
Thomas DeWeese wrote: K. Ari Krupnikov wrote: Is there a Batik equivalent of javax.xml.transform.sax.TransformerHandler, a class that can accept SAX events and transcode them into an image? No, but there isn't much point. Just build a Batik DOM (use our DOM Implementation) and pass that in

Re: PDFTranscoder

2004-02-26 Thread Mathias Kalb
Thomas DeWeese wrote: So the cases with different colors are where you use opacity. In general the differences are 1 code value (I did find one that was 2 code values off) Looking at them side to side I basically couldn't tell they were different. Given the math involved in handling opacity i