Hello, Are height and width expressed in pixels, dots , mm or inches ? My experience is that rasterizing a svg expressed in cm does not work, expressed in pixels works, but I can' t control the size.
I read somewhere that FOP actual implementation was limited to 72 dpi (to be fixed). It seems also that the pixelsToMm options which is documented in the source is not available externally and would, I guess, allow to express the svg size in mm. -- Annick Fron AFC Europe B.P. 111, 977 avenue du Docteur Julien Lefebvre 06271 Villeneuve-Loubet France T�l : +33 4 93 22 88 18 Fax : +33 4 93 22 88 36 http://www.afceurope.com > De�: Vincent Hardy <[EMAIL PROTECTED]> > R�pondre �: "Batik Users" <[EMAIL PROTECTED]> > Date�: Thu, 23 Jan 2003 09:47:01 -0800 > ��: Batik Users <[EMAIL PROTECTED]> > Objet�: Re: Batik Rasterizer > > > Hello Annick, > > There are many more options in the rasterizer, see: > > http://xml.apache.org/batik/svgrasterizer.html > > In particular, there are -w and -h options to set the width and height > of the document. Used in combination with the -dpi, that should give you > a page the size you want at the resolution you want. > > Vincent. > > Annick Fron wrote: >> My problem is that I use the binary distribution with the command >> java -jar batik-rasterizer ... >> >> I don't know where to place options because I can't see the boundary between >> batik and fop processing. The only option I have played with is : >> -dpi >> which is documented as set to 72 >> There are options width and length, but I don't know whether they are >> relative to the input, the batik viewport, the fop document , the final >> document or whatever > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
