andengines svg extension slow? 4.22s to load a 20k svg?

All your problems with Audio, Video and Images.

andengines svg extension slow? 4.22s to load a 20k svg?

Postby purginator » Tue Dec 20, 2011 11:24 am

Hello!

I am trying to use andengines svg extension to load a svg. Its on 20.9 kb.

I am using this code to parse the svg:

SVG svg = SVGParser.parseSVGFromAsset(context.getAssets(), "drawing.svg");

Result, takes 4.22 seconds. :shock:

Is there anyone that has some information I dont have? :roll:

drawing.svg.txt
svg file in question
(20.88 KiB) Downloaded 27 times
purginator
Freshman
Freshman
 
Posts: 4
Joined: Tue Oct 11, 2011 7:14 pm

Top

Re: andengines svg extension slow? 4.22s to load a 20k svg?

Postby purginator » Tue Dec 20, 2011 12:53 pm

I tried to instead of the svg-android lib on http://code.google.com/p/svg-android/.
I takes 1.6s, and spits out a lot of error messages about missing svg commands...
purginator
Freshman
Freshman
 
Posts: 4
Joined: Tue Oct 11, 2011 7:14 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests