Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save an image from the clipboard
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01349799
Message ID:
01358242
Vues:
23
Mark,

I think Naomi is correct, try PNG.

You can also try Jpeg (code samples below)

>thanks got it working, now the next problem, the files are 6mb in size, i've been going through the code but no sign of a jpeg version, any idea on the best way to convert, would it be to try to use the gdi+?>>>>You can use the GDIPlusX library (www.codeplex.com/vfpx)
DO system.app
oBMP = _SCREEN.System.Drawing.Bitmap.FromClipboard()
** Save as PNG
oBMP.Save("MyImage.bmp", _SCREEN.System.Drawing.Imaging.ImageFormat.Png)
** Save as Jpeg
oBMP.Save("MyImage.bmp", _SCREEN.System.Drawing.Imaging.ImageFormat.Jpeg)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform