Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binary Images to be placed in a record in a file
Message
De
07/07/2004 17:10:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00897568
Message ID:
00921617
Vues:
21
No idea. Did you try with a smaller BMP file? Or saving a BMP with different programs? You may have some non-standard format. And did you try whether you can open your BMP file with some viewing or editing software, like IrfanView?

In any case, JPG or GIF take up much less space than BMP. This is because BMP doesn't useany data compression. Therefore, usually JPG or GIF should be preferred. (Note, however, that JPG usually uses "lossy" compression - quality is lost when saving, and GIF is limited to 256 colors.)

Oh, and by the way, an advantage I didn't mention, of having the pictures in separate files, is that you won't have problems with the 2 GB limitation, in VFP tables. At least, not as soon.

>I've had success displaying a JPG but not a BMP file. Is there a reason for this or am I doing something wrong? It tells me file is too large, corrupted or wrong format.
>
>Thanks for all your help.
>Chaim
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