Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PictureVal property
Message
From
29/11/2006 12:21:53
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
PictureVal property
Miscellaneous
Thread ID:
01173359
Message ID:
01173359
Views:
101
I'm storing a png image file in a blob field and copying the content of the field to my code inside a text...endtext expression to use with pictureval property of an image control.
If I use a bmp or gif file it works correctly, but when I use a png file the image isn't showed.
PictureVal property accepts png images?
See the following code that doesn't work:
Local lcPicture
TEXT To m.lcpicture Textmerge Noshow
89504E470D0A1A0A0000000D494844520000000800000007080600000035590C5E00000001
7352474200AECE1CE90000000467414D410000B18F0BFC6105000000206348524D00007A26
000080840000FA00000080E8000075300000EA6000003A98000017709CBA513C0000001874
455874536F667477617265005061696E742E4E45542076322E3732725A845D000000C24944
415418573D4ED90E82400C2CBA8F7EC6261A10E512170FA2A2BFEE831A9F1401398C372812
BFA0B2263A4993B6D3990EECBC00B2470EAFE24D34BD8369F6647E1056C22821E3C914E199
1770BEDC8828C968762D2CFBDA3D7D10B9A5A0D46C216C5D8FB4150DFB031B4B002F7E381A
3B58BA30983833E4EA1FD9653DAC37C4FF0CCBD59A32AB8FAA66FC97BA617EED93C3B10AA7
F35588E2035554FDFB661FC6AC24280FCC45E006FBDA7CB114FC28A6D6D0C68DE757833881
EC555059D5F003C4EA7F1C2501E99F0000000049454E44AE426082
ENDTEXT
m.lcPicture = Strconv(m.lcPicture, 16)
This.PictureVal = m.lcPicture
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Next
Reply
Map
View

Click here to load this message in the networking platform