Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting General field to BMP
Message
 
À
08/09/2003 03:17:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00826991
Message ID:
00827414
Vues:
21
You should be ablt to figure this one out....

SELECT pictures
* Make sure the created file contains this picture only!
COPY TO &lcdbf FIELDS &pcfield &pnfor && for upper(&pcField)=upper(pcPict)
lnhandle=FOPEN(lcfile + '.fpt')
lnhandleout=FCREATE(lcfile + '.bmp')
=FSEEK(lnhandle, 599)
DO WHILE !FEOF(lnhandle)
=FWRITE(lnhandleout, FREAD(lnhandle, 512), 512)
ENDDO
=FCLOSE(lnhandle)
=FCLOSE(lnhandleout)


>Hi All,
>I have BMP's in a general field in an app, and I would like to extract them to BMP's. I'm running VFP 7. How can I go about doing this?
>
>Thanks.
>
>Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform