xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: gif image Auto-Scale
Date Tue, 26 Oct 2004 14:57:51 GMT
Michael Voyes wrote:

> OK, i agree with you, so you're meaning the following lines are not 
> advisable :

Actually it's:

Filter f = transDoc.root.getGraphicsNodeRable(true);

Don't use transDoc after transcode completes.

> So, how can i generate my output as soon as "super.transcode(document, 
> uri, output)" completes without using above lines ?

    You want to generate output _before_ transcode completes, so
do what I said:

Thomas DeWeese wrote:

>>    [...] subclass SVGAbstractTranscoder and generate your
>> output in the transcode method.  Don't try and use anything from
>> the transcoder after the transcode method completes.

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message