You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Praveen Nayak <Pr...@telelogic.com> on 2007/12/19 08:23:48 UTC

A query on Batik Performance

Hi,

 

I have SVG Diagrams hosted inside Batik Viewer and the viewer inside an
applet. I am using the 1.6 version of Batik.

When I have an SVG image that is > 1 MB in size, I see that image takes
long to load (> 10 seconds).

1. Is there some way I can improve the performance? 

2. Can I get an idea in which area I would get most of the performance
problem?

A jpeg image of the same diagram seems to load much quicker.

 

Any explanation here would really be useful.

 

Thanks,

Praveen 
--------------------------------------------------------------------------------
Telelogic Lifecycle Solutions:
Helping You Define, Design & Deliver Advanced Systems & Software 
Learn More at www.telelogic.com 

Praveen Nayak 
Technical Leader 
Telelogic India Pvt Ltd 
#58, 1- 4 HM Towers,
Brigade Road, 
560 025 Bangalore 
India 

Phone: +91 (80) 419 95800 x327 
Fax: 
Mobile phone: 
Praveen.Nayak@telelogic.com 
http://www.telelogic.com 

Telelogic - Requirements-Driven Innovation!
------------------------------------------------------------- 


The information contained in this e-mail, including any attachment or enclosure, is intended only for the person or entity to which it is addressed and may contain confidential material. Any unauthorized use, review, retransmissions, dissemination, copying or other use of this information by persons or entities other than the intended recipient is prohibited.

Re: A query on Batik Performance

Posted by Andreas Neumann <a....@carto.net>.
well my guess is that your jpeg does not contains as many details as your
SVG file. A 1MB SVG file can be quite detailed and you can zoom in and
interact whereas with jpeg you can't. Naturally, SVG loads a bit longer
then jpeg. That is normal.

If you want to speed up loading times, it is probably best to improve the
structure or simplify your SVG file. For any suggestions for improvements
you would have to post a sample file so we can have a look at the SVG code
of the SVG graphics. A lot of software that generates SVG codes creates
sub-optimal code.

Andreas


> Hi,
>
>
>
> I have SVG Diagrams hosted inside Batik Viewer and the viewer inside an
> applet. I am using the 1.6 version of Batik.
>
> When I have an SVG image that is > 1 MB in size, I see that image takes
> long to load (> 10 seconds).
>
> 1. Is there some way I can improve the performance?
>
> 2. Can I get an idea in which area I would get most of the performance
> problem?
>
> A jpeg image of the same diagram seems to load much quicker.
>
>
>
> Any explanation here would really be useful.
>
>
>
> Thanks,
>
> Praveen
> --------------------------------------------------------------------------------
> Telelogic Lifecycle Solutions:
> Helping You Define, Design & Deliver Advanced Systems & Software
> Learn More at www.telelogic.com
>
> Praveen Nayak
> Technical Leader
> Telelogic India Pvt Ltd
> #58, 1- 4 HM Towers,
> Brigade Road,
> 560 025 Bangalore
> India
>
> Phone: +91 (80) 419 95800 x327
> Fax:
> Mobile phone:
> Praveen.Nayak@telelogic.com
> http://www.telelogic.com
>
> Telelogic - Requirements-Driven Innovation!
> -------------------------------------------------------------
>
>
> The information contained in this e-mail, including any attachment or
> enclosure, is intended only for the person or entity to which it is
> addressed and may contain confidential material. Any unauthorized use,
> review, retransmissions, dissemination, copying or other use of this
> information by persons or entities other than the intended recipient is
> prohibited.
>


-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann@carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org