Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with getpicturevalfromhbitmap in VFP Paint
Message
De
23/03/2009 23:04:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01390924
Message ID:
01390928
Vues:
51
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform