Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with getpicturevalfromhbitmap in VFP Paint
Message
From
23/03/2009 23:04:59
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01390924
Message ID:
01390928
Views:
49
>>Hi Chris,
>>I really had no idea of that kind of limitation.
>>
>>Anyway, we can still use a different encoder that uses less space - the PNG
>>
>>Please make a backup of VFPPaint.Scx, and lets play with your copy, making some changes as follow:
>>
>>USe the Search / replace tool
>>
>>Search for the string:
>>".GetPictureValFromHBitmap()"
>>
>>
>>REPLACE in all occurencies with:
>>".GetPictureVal(_Screen.System.Drawing.Imaging.ImageFOrmat.Png)"
>>
>>without the quotes, :-)
>>
>>Test it and tell me how it goes !
>>IMPORTANT - recommended VFP9 SP2 for this purpose,other versions may crash
>>
>>
>>Hope this helps !
>>
>>Cesar
>
>That worked like a charm. Can now load 2.5meg pics. Thanks for the quick reply. Great app btw.


Hi Chris,

Glad to know it worked.
How is the performance now ?

Did it become slower ?

I'm really curious about this
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform