xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonny Kohar <to...@kiyut.com>
Subject Re: Drawing size in Batik-Rasterizer
Date Thu, 04 May 2006 02:27:29 GMT

On Wed, 2006-05-03 at 11:46 -0500, Gore, Duane wrote:
> I am using Batik with Java 1.5 to create an image about 5000x2000
> (pixels?).  The XML file output generates successfully (the
> coordinates of the last box drawn is what I expect).  However, when I
> use rasterizer to produce a jpeg or tiff, the size of the resulting
> image is only a small portion of the upper left corner of the total
> image, probably about 200x300.
> Here is the line I use to execute rasterizer:
> java -Xmx264M -jar c:\batik-1.6\batik-rasterizer.jar -maxw 5086.0
> -maxh 2604.0 -bg -d c:\temp\raster -m image/jpeg -q
> 0.5 c:\temp\SVGout.svg –validate

You need to specify the width and height as well, not only max width and
max height.

Tonny Kohar
SVG Graphics Editor

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message