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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 39576
    
  27
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 - updated with new look and Ping home screen widget
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: 39576
    
  27
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
 
Similar Threads
Custom JComponent Problem
Running Method more than once results in wrong results
Showing JSP output in XSL
way to rotate without using Graphics2D.rotate()
Showing Image in JFrame with g.drawImage() - increasing memory usage by switching image