Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving Picture type from database
Message
De
26/05/2002 04:10:44
 
 
À
26/05/2002 03:30:59
Yossi Moses
I.S.R Corporation
Jerusalem, Israél
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00661429
Message ID:
00661430
Vues:
12
This message has been marked as the solution to the initial question of the thread.
1. If you want to save picture in temp file, which will be open using Image in VFP, you do not need to save picture with correct extension. You can save, for instance, GIF file as "TempFile.jpg" and Image will open the file properly;
2. Anyway, if you want to know properly type of picture, consider adding description field in table, which will contain, in addition to other information about picture, also file type. Some formats contain file type (for instance, GIF files begin with used GIF format (GIF87a, GIF89a) - you can see this by opening some GIF file in Notepad; also JPEG files contain JFIF string near to beginning of file; BMP files begin with "BM"). But some formats do not contain this information (ICO, CUR).

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform