Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to store pictures data more efficiently?
Message
From
13/04/2001 07:15:28
 
 
To
12/04/2001 20:42:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00495154
Message ID:
00495235
Views:
30
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform