Hi:

The way i did it is, i created a class called:
public class TiledPrintTranscoder extends SVGAbstractTranscoder implements Printable { ... }


And on the printable implementation, i call the Print method, in which i did a series of AffineTransforms similar to those you would do to have a multiple page print preview in Graphics2D, based on the page number being rendered.

You can find an example of a print preview for Graphics 2D here: http://javafaq.nu/java/free-swing-book/free-swing-book-chapter22.shtml

I essence it is similar to the PrintTranscoder Batik provides, but instead of doing a single "fit to page" AffineTransform, you use the Printable multiple pages implementation to do an AffineTransform of your large image one segment at a time.

Hope this helps.

Andres.

On May 26, 2004, at 4:00 AM, Amit Srivastava wrote:

 �
I want to convert svg file to multipage tiff file.
How can I do this ?

thanks,
Amit




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to