I am programatically generating a large image using the Java Graphics2D
related libraries. I am using the SVGGraphics2D class to allow rendering to
SVG.

My challenge is that I have a set of icons that are already in SVG format
that I want to embed into the larger image.

Based on the documentation I understand how to bring the icon SVG files
into the Graphics2D environment using an ImageTranscoder. However this
process is rasterizing the SVG files and turning them into a BufferedImage.

The result is that when I render the main image at larger dimensions, the
icons look horrible while the rest of the image is crisp.

Is there a way to embed an SVG image using SVGGraphics2D without
rasterizing it first?

Thanks

Reply via email to