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:
01358110
Views:
22
I think png format is the most compressive, but I'm not 100% sure. I haven't worked with this library close enough to provide the code. Either Cesar or Bo can help.

>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+?
>~M
>
>>Check Re: Problem with app Thread #1351476 Message #1351525
>>
>>>Bo,
>>>I've upgraded the project to version 9 and tried a few ways posted here but to no avail. I was trying this, I downloaded the necessary files from the link and put them in the development folder but this code keeps erroring out on the do system.app line. any ideas?
>>>~M
>>>
>>>>You can use the GDIPlusX library (www.codeplex.com/vfpx)
>>>>
>>>>DO system.app
>>>>oBMP = _SCREEN.System.Drawing.Bitmap.FromClipboard()
>>>>oBMP.Save("MyImage.bmp", _SCREEN.System.Drawing.Imaging.ImageFormat.Bmp)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform