Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
1.8
-
None
-
None
-
Operating System: other
Platform: Other
URL: http://xmlgraphics.apache.org/batik/tools/rasterizer.html
Description
No units given in documentation for w,h,maxw,maxh,-a params for batik-rasterizer.jar
See: http://xmlgraphics.apache.org/batik/tools/rasterizer.html
What units of measurement are available for the w,h,maxw,maxh,-a params?
mm - millimeters?
em - elements?
in - inches?
px - pixels?
Please also explain how these effect the values with the SVG document itself.
e.g. for a rectangle
<rect height="11.3316" width="0.21" x="2.73" y="0"/><rect height="11.3316"
width="0.21" x="3.36" y="0"/>
-w width
specifies the output width as a floating point value,
-h height
specifies the output height as a floating point value,
-maxw width
specifies the maximum output width as a floating point value,
-maxh height
specifies the maximum output height as a floating point value,
-a x,y,width,height
specifies the area of interest (as floating point values) of the SVG file to
rasterize (and if not specified, will be determined by the width/height/viewBox
attributes if specified in the document, and be 0,0,400,400 otherwise),