Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-791

No units given for w,h,maxw,maxh,-a params for batik-rasterizer.jar

    XMLWordPrintableJSON

Details

    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),

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            tech@robertjdavis.co.uk Rob Davis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: