Thanks Thomas. I'll try the tiff format. André
-----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 20 de janeiro de 2006 18:34 Para: [email protected] Cc: [email protected] Assunto: Re: RES: OutOfMemoryError Hi Andre, [EMAIL PROTECTED] wrote on 01/20/2006 02:23:04 PM: > The first line of my SVG is show below. Can I send the file for you? > > <svg [...] width="10227" height="15155"> This is approx 600MB uncompressed (10K*15K*4). You can not generate a JPEG this large directly. Did you try setting the width and height for the output? If you truely need such a large image you can use the tiled Tiff transcoder to generate such a large file. It doesn't offer all the bells and whistles of the other transcoders but can generate essentially arbitrarily large TIFF images. You can find the code for it in the contrib directory of the source distribution. > > Thanks, > > André > > > > > -----Mensagem original----- > De: Andreas Neumann [mailto:[EMAIL PROTECTED] > Enviada em: sexta-feira, 20 de janeiro de 2006 13:50 > Para: [email protected] > Assunto: Re: OutOfMemoryError > > > Hi, > > a Gigabyte Memory shold be enough. btw, the flag is -Xmx1000m, and not > -Xms1000m > > How big is the width and height of the svg image (I don't mean filesize, > but width and height units)? It might be too big, generating a huge > image with several thousand pixels width and height. If for example it > would result in 100.000 by 100.000 pixel, even 1 Gig of memory probably > wouldn't be enough. You might want to try to explicitly specify a > resolution or output width and height in pixel. The flags are -w -h -a > and -dpi > > Andreas > > [EMAIL PROTECTED] wrote: > >> Hi, > >> > >> I'm trying to convert a SVG image to JPG format. My file is very small > >> (about 180kb) but ever I get a OutOfMemoryError when I run this command: > >> > >> java -Xms1000M -Xmx1000M -jar batik-rasterizer.jar -m image/jpg -q 0.75 > >> IncluirProposta.svg > >> > >> How can I convert this file? > >> > >> Thanks, > >> > >> André > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- > ---------------------------------------------- > Andreas Neumann - Institute of Cartography > Swiss Federal Institute of Technology (ETH) > ETH Hoenggerberg > CH-8093 Zurich, Switzerland > Phone: ++41-1-633 3031, Fax: ++41-1-633 1153 > e-mail: [EMAIL PROTECTED] > www: http://www.carto.net/neumann/ > SVG.Open: http://www.svgopen.org/ > Carto.net: http://www.carto.net/ > > --------------------------------------------------------------------- > 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] > --------------------------------------------------------------------- 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]
