Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save an image from the clipboard
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01349799
Message ID:
01358242
Views:
24
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform