Hi Sudhakar, Sudhakar S <[EMAIL PROTECTED]> wrote on 07/31/2006 02:15:30 AM:
> > You can convert the svg (vector> by using <svg> tag. > > For raster graphics (jpeg,png) you can use base64 for the byte array. > > Is it possible to do it only while exporting the SVG document into SVG > file?. Well you can do what ever you want when you export the document to an SVG file. You can do a deep clone of the document and modify the clone before writing it to disk. The other option would be to 'draw' the GVT tree to the batik.svggen.SVGGraphics2D class which should create a new "flattened" SVGDocument. However, this will destroy any structure in the original SVG document (you will not be able to round trip in any meaningful way). > I cant change the image attributes values while creating the > document. because i may lead to quality loss when zoomin/zoomout. Also it > must not affect the current SVG document while converting it using > Base64EncoderStream. > > Please let me know where should i change the code to do so? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
