LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Access .wmf format picture with CVI 7.0

I have some .wmf format picture which drew by Illustrator. Now I want to save them to a file , once needed , I can extract them from the file .The questions are :
1.What functions could be used to save a picture data to my own database ?
2.If it can be saved , how to extract a picture data from my own database ?

David
0 Kudos
Message 1 of 2
(2,887 Views)
Hi David,

For storing pictures into a database, you might try looking into BLOBs (Binary Large OBjects). These are datatypes that allow you to store and retrieve binary data to and from a database. In addition, you can use the SQL toolkit in CVI to set up your connections and access your database from your application. There are some things that you also need to consider before doing all of this. First, what database do you intend on using. Next, is it worth the space to store the actual images in the database, or would it be easier (and more logical) in your situation to only store the path to an image in the database, and then have all the images in a certain directory on a network shared machine? The way you plan to implement this is totally up to you, but
I just wanted to offer some ideas from what I've seen done before. Hope this helps!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 2
(2,887 Views)