Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image Attributes
Message
From
25/12/2015 13:47:58
 
 
To
24/12/2015 22:37:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01629066
Message ID:
01629296
Views:
48
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform