Hi all,

U have any idea of how to resize an image in windows mobile application by using .net 2005?

Here is what i did but got error.

Code:
Dim bitmap As New Bitmap("\img\1.jpeg")
        Dim newbit As New Bitmap(150, 150)
        Dim g As Graphics
        g = Graphics.FromImage(newbit)
        ' g.InterpolationMode = InterpolationMode.HighQualityBicubic
        g.DrawImage(bitmap, 0, 0)
        newbit.Save("\img\a.jpeg", Imaging.ImageFormat.Jpeg)
when it hit newbit.Save method, it throws "Not supported Exception". What should I do?????

And it also not support InterpolationMode.

i dont know other methods.
i can test this code in vb.net windows application with no error but not in mobile.
Any ideas?

thanks