I’m evaluating Batik 1.5beta4b’s Rasterizer utility but am encountering problems.  My goal is to generate a PDF from an image drawn inside Swing.  To that end, I’m using the SVGGraphics2D class to paint the component’s contents and write image to an SVG file.  The resulting SVG file renders fine inside Internet Explorer and Squiggle.  However, when I try to convert the SVG file to anything (PDF, JPEG, whatever), only the top quarter (approximately) is Rasterized.?.?  I’ve tried passing in command line arguments such as:

% java org.apache.batik.apps.rasterizer.Main -m image/jpg -a 0,0,1000,1000 test.svg.  However, the same amount of image is captured.  Larger AOIs just seem to make the final result image smaller.  Has anyone ever encountered this? 

Reply via email to