Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image Attributes
Message
De
25/12/2015 13:47:58
 
 
À
24/12/2015 22:37:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01629066
Message ID:
01629296
Vues:
47
Ah its a blob on memo field ! sorry i dont see.
can use of course the pictureVal property( rendered with gdiplus but i guess with vfp9 only).
can also use " filetostr(getpict()) " to transform into a blob and strore in a memo field
and strtofile(memo fileld) to rebuild original image as file.
Note: loadPicture() function can transform image (bmp,jpg,gif) to an object (infortunatly no PNG)
can retrieve widh and height but multiplying by a factor.....

can also use encoding to manipulate image with strconv() function.
string=strconv( filetostr(getpict()),13) to transform image on string base64 binary (stored as memo field)
to restore this image
strconv(string,14) to put in pictureVal
or strtofile( strconv(string,14)) to restore as picture filename.

Regards
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform