Link to home
Start Free TrialLog in
Avatar of epihandy
epihandy

asked on

How to save a bitmap to a file (VB.NET / C# CompactFramework)

How can I save an image (Bitmap) that I have created (without reading from file)
I am using VS.NET and programming C# and VB.NET (CF)
I need code and not some component.
Thanx
Avatar of armoghan
armoghan
Flag of Pakistan image

have you gone though this article?
http://www.codeproject.com/netcf/VBPocketPCBitmaps.asp
also see
http://www.codeproject.com/netcf/Signature_Capture.asp

The above link saves the signatuer as an Image
sorry for the last link.. it saves it in Txt file
Avatar of skytrue
skytrue

Assume that you have a Image object already. Then you can just use
myImage.Save ("c:\\myimage.bmp");
or
myImage.Save("c:\\as.jpg",System.Drawing.Imaging.ImageFormat.Jpeg);
ASKER CERTIFIED SOLUTION
Avatar of armoghan
armoghan
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial