Saving bitmap to JPG in Compact Framework 2
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I've been on the MSDN and it has example code on how to save an image to jpg format, they say its compatible in the Compact Framework 2 but it doesn't seem to work. Here is my Code: Dim img As Bitmap img = New Bitmap(PictureBox1.Image) img.Save("Bob.jpg", ImageFormat.Jpeg) The PictureBox1 contral has a picture already. if I try save it as a BMP there is no problem. but to any other format it system returns a nonreferenced Exception. Any Help would be greatly appreciated. Thank you