xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas E. DeWeese" <thomas.dewe...@gmail.com>
Subject Re: Please help no output from rasterizer
Date Mon, 03 Mar 2014 14:57:39 GMT
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 <mikeybowler@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.kerschbaum@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:mikeybowler@gmail.com]
> *Gesendet:* Montag, 03. März 2014 15:08
> *An:* batik-users@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* <mikeybowler@gmail.com>
> Date: 3 March 2014 11:18
> Subject: Please help no output from rasterizer
> To: 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,
>
>
>
>
>
>
>
>
>

Mime
View raw message