Hello,

We do the same, but i generate max 16k times 16k (is level 5 or 6) but with an 
already tiled image ?! So for an level higher I do it 4 times 8k time 8k .... 
Or for 2 level higher 4 x 4 time 8k time 8k !



Von: Mike Bowler [mailto:mikeybow...@gmail.com]
Gesendet: Montag, 03. März 2014 16:06
An: batik-users@xmlgraphics.apache.org
Betreff: Re: Please help no output from rasterizer

Ok thanks, I will take a look.

Mike

On 3 March 2014 14:57, Thomas E. DeWeese 
<thomas.dewe...@gmail.com<mailto:thomas.dewe...@gmail.com>> wrote:
In Contrib there is a tiled tiff rasterizer that can generated images of this 
size.  IIRC you probably need to modify the rendering hints used for rendering 
otherwise it's not anti-aliased.

On Mon Mar 03 2014 at 9:52:07 AM, Mike Bowler 
<mikeybow...@gmail.com<mailto:mikeybow...@gmail.com>> wrote:
Hi,

Thank you for your reply.

That is exactly what I'm doing. I'm using tiles (256 x256) with leafletJs.

I'm taking a dwg(autoCad) converting that to an svg and then converting that to 
a PNG (at the moment 16384 x 12288, zoom level 6) and then convert the PNG in 
to 256 tiles. This works really well, but the detail I required from the dwg 
into the png isn't quite there hence 32768 X 24576 (zoom level 7) which does 
have the exact level of detail.

Thanks,

Mike








On 3 March 2014 14:14, Kerschbaum Michael 
<m.kerschb...@pke.at<mailto:m.kerschb...@pke.at>> wrote:

Hello,



As my experience tells me, the res 32k times 24k is too big ! Normally you 
should use tiles. The question is what do you want to do with this large image. 
If you want to use it in viewer it normally takes too long to load the image. 
You should use the same technique like google maps. The have 4 tiles per zoom 
level. Depending on the image a number of 6 or 7 levels are enough ! Google 
using 16 is guess.



Mfg Michael



Von: Mike Bowler [mailto:mikeybow...@gmail.com<mailto:mikeybow...@gmail.com>]
Gesendet: Montag, 03. März 2014 15:08
An: batik-users@xmlgraphics.apache.org<mailto:k-us...@xmlgraphics.apache.org>
Betreff: Fwd: Please help no output from rasterizer



Hi,



Please see the attached log file.



Thanks,



Mike



---------- Forwarded message ----------
From: Mike Bowler <mikeybow...@gmail.com<mailto:mikeybow...@gmail.com>>
Date: 3 March 2014 11:18
Subject: Please help no output from rasterizer
To: 
batik-users@xmlgraphics.apache.org<mailto:batik-users@xmlgraphics.apache.org>

Hi Batik team,



I would like some help and support, I'm currently using batik-rasterizer to 
convert SVGs to PNGs and this is working great for the following settings:



c:\Apps\batik\batik-1.7>batik-rasterizer.jar -w 16384 -h 12288 -dpi 200 
c:\Custom.svg -d c:\Custom.png



However I require a higher resolution of png (its a long story!), when I try 
the following settings:



c:\Apps\batik\batik-1.7>batik-rasterizer.jar -w 32768 -h 24576 c:\Custom.svg -d 
c:\Custom2.png



An empty Custom2.png (file size zero) is produced. I can see that mu CPU hits 
about 50% and the memory peeks about 12 gb (I have 16gb installed in my Windows 
7 machine) for about 3 seconds then just drops. I'm thinking that something is 
running out of memory but I dont know what and batik doesnt throw any out of 
memory warnings.



Any help or pointers would be greatful to try and over come this problem.



Thanks,








Reply via email to