Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, August 27, 2009 3:49:57 AM(UTC)
stefan.strube

Groups: Registered
Posts: 3


Hello,

I want to get the size of a SVG file (L_VecGetObjectParallelogram), but without loading the file.
My problem is, that there are some > 1 MB SVG files with huge amount of paths and loading the SVG file takes several minutes on 100% CPU usage in LeadTools v16

Is there an API way to get the vector dimensions (without reading the XML and parse the ViewBox/width/height attribute)?

Regards,
Stefan
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, August 30, 2009 4:39:49 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Stefan,
There is no function in LEADTOOLS that can do this. The only way is to load and parse all the file. Furthermore, the real parallelogram might not always match the stored viewbox in all files because you can't control what other SVG writers store in their files.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.046 seconds.