This tool let you transform SVG images into pure Java2D code with no external dependencies. The following features are supported:
- All geometric shapes and paths
- Text
- Transformations
- Colors and gradients
These SVG features are not supported:
- Animations
- Images
- Filter effects
- Masks and Clipping
- Patterns
- Markers
The SVG Transcoder successfully converted more than 5000 icons from various GNOME and KDE themes. On average the generated .class file with gzip compression is about 30% bigger than the corresponding svgz image. With pack200+gzip compression it's about 40% smaller.
The SVG transcoder is available as an Ant task or a GUI application. See the website for more details.
- Fixed the nested transformations (#3)
- Fixed the opacity of the nested elements (thanks to Paolo Ferracin)
- The Ant task now throws an exception when an invalid naming strategy is specified.
- Fixed the transcoding of general paths
- Fixed the incrementation of the gradient stop fractions (#1)
- The PINK and ORANGE colors are now transcoded by name.
- Initial release
The SVG Transcoder has been originaly developped by Kirill Grouchnikov as part of the Flamingo project (see his blog for more information). It leverages the Apache Batik project for parsing the SVG files.
BSD (for the original Flamingo files), Apache License 2.0 (for the new files)