aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes batik and ImageIO.write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "batik and ImageIO.write" Watch "batik and ImageIO.write" New topic
Author

batik and ImageIO.write

mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
Hello,
I tried to rewrite the following code snipsel:


with Batik, but I do not know how do it.

Are there any examples?

Thank you in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
What do you mean by "rewrite with Batik"? Are you looking for an SVG snippet that accomplishes the same as this code? Or something else?


Ping & DNS - my free Android networking tools app
mic ta
Greenhorn

Joined: May 13, 2009
Posts: 28
Sorry. Yes, I would like to save the picture in SVG format and not in PNG.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
Start here: http://xmlgraphics.apache.org/batik/using/svg-generator.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: batik and ImageIO.write