Synopses & Reviews
Just like XML is the standard for data exchange, SVG (Scalable Vector Graphics) is the standard for drawing. In fact, SVG files are XML documents. An SVG file contain instructions to draw 2 dimensional and 3 dimensional graphics. Examples of such instructions are "draw a circle at the coordinate (10, 20)," draw a red line from (1, 1) to (100, 1), "rotate rectangle A by 45 degrees", etc. In addition, SVG support JavaScript that can be used for animation.Apache Batik is a Java library that can be used to read SVG files and translate the instructions in the files into graphics. Batik can also be used to save the graphics as JPEG, TIFF, PNG, GIF, and other formats, so that the graphics can be transferred.Batik can also be used to create animation, just like Flash movies. For example, it can zoom in and zoom out a picture, rotate it, transform it into another shape, etc. You can potentially use Batik to create a drawing program such as Corel DRAW.Batik is an exciting image manipulation tool. Every Java programmer who we have asked what they think about Batik says "It's exciting."
Synopsis
A guide to Apache Batik—the Java library that can be used to read SVG files and translate the instructions in the files into graphics—this book shows how Batik can also be used to save the graphics as JPEG, TIFF, PNG, GIF, and other formats, so that the graphics can be transferred. Covered is how Batik can also be used to create animation, just like Flash movies and how Batik can potentially be used to create a drawing program such as Corel DRAW.
About the Author
Paul Deck is an IT architect who specializes in networking, Internet programming, design patterns, and user-interface design. He is the author of
How Tomcat Works. He lives in Toronto, Ontario.