Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing and displaying picture
Message
De
30/05/2003 12:00:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00794377
Message ID:
00794554
Vues:
15
>Hi
>
>I a number of graphics in my application and want to be able to :
>
>a) store them in a table and display them on my form
>b) imbed them in my program.
>
>By and large I dont want to distribute the as additional files.
>
>I thought I could use a general field to store them but cant get them out onto my form.
>
>Is a) and/or b) possible???
>
>Regards
>Geoff Scott

One problem of general fields is the one you mention: it is very tricky to get the data back out again. Another problem is that they use a terrible amount of space - a 50 KB JPG file can easily inflate the FPT file by more than 1 MB.

The usual approach is to save the information in separate files. As an alternative, you can use memo fields (memo binary, that is), and write the information to temporary files when you require it.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform