Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to store pictures data more efficiently?
Message
 
 
À
12/04/2001 20:42:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00495154
Message ID:
00495235
Vues:
27
Hi!

Did you tried a memo field?
Write image to memo field:
replace MyMemo with FileToStr('MyImage.bmp')
Read image from DBF memo:
StrToFile(MyMemo, 'MyImage.bmp')

The size of fpt file in this case is comparable to the total size of images. In average it will take additional *36 bytes to store all of them in memo fields.

HTH.

>Dear All,
> I store pictures in general field. First of all I copy the image to the clipboard. Then I paste into the general field(as bmp in PASTE SPECIAL). Is there any way to reduce the size if the memo file (fpt file)so that I can store more picture in the CD-ROM?
>
>Thanks in advance,
>
>Harry
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform