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, February 1, 2007 9:00:08 AM(UTC)

Egghead  
Egghead

Groups: Registered
Posts: 4


Hi here,

I have leadtools vector V14.0 (programming VB 6.0), and I am trying to convert a raster file to a vector file. At least, it is the idea. However I get this "LEAD Error: Vector capability is required to use this function"

--------
nret = LEADVector1.Load("c:\abc.wmf)
LEADVector1.Reset VECTOR_RESET_ALL
LEADVector1.ForceRepaint
LEADVector1.AutoRepaint = True
LEADVector1.Save "c:\testing.dxf", FILE_SVG
--------

If not, is there a way to make the image to a vector image?

Thanks
Egghead
 

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, February 4, 2007 9:45:56 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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




Do you own the LEADTOOLS Vector Imaging toolkit, or have a
free evaluation edition? If you don't have either, vector capabilities will not work.




Also, unless the WMF file contains vector objects, it will not convert to a true vector file.


Note: naming an SVG file with the .DXF extension can lead to confusion.
 
#3 Posted : Wednesday, February 7, 2007 5:23:07 AM(UTC)

Egghead  
Egghead

Groups: Registered
Posts: 4


Thanks,

At the end, we find out that we need an unlock code ???, and we get it on Monday.

hmm, does this work?

step 1. open a WMF in vector control
step 2. save that image in dxf
step 3. open the dxf image in vector control
step 4. resize it.

Do we have vector image in resizing??

Egghead
 
#4 Posted : Thursday, February 8, 2007 1:23:12 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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




WMF files can contain drawings (vector objects) and they can contain Raster (Bitmap) images.


If the file contains vector objects, loading it with the
LEADTOOLS vector engine and saving it to DXF should work, but you can't always
expect all objects to retain all of their properties, because different file formats don't always have identical support for all types of objects.
About the resizing part, you can modify any object inside the file using our toolkit.

 
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.089 seconds.