wardrobeandrew
Member
two things can i draw lines and circle and so on in vb.net like i can in vb6 if so how
secondly how do i save images from picture boxes as gifs, bitmaps, png,icons ans so on ive tried
ptbMain.Image.Save(imagestream, System.Drawing.Imaging.ImageFormat.Gif)
but i just get GDI+ generic errors when i try to save as gif, tiff, jpeg, bmp, wmf, emf, or png
or
NB in my code sample image stream is a filestream with the parameters (savedialog.filename, filemode create)
if you can help me and/or tell me where im going wrong i would be grateful
cheers
secondly how do i save images from picture boxes as gifs, bitmaps, png,icons ans so on ive tried
ptbMain.Image.Save(imagestream, System.Drawing.Imaging.ImageFormat.Gif)
but i just get GDI+ generic errors when i try to save as gif, tiff, jpeg, bmp, wmf, emf, or png
or
i get this one when i try to save as iconsvaule cannot be null,
parameter name encoder,
NB in my code sample image stream is a filestream with the parameters (savedialog.filename, filemode create)
if you can help me and/or tell me where im going wrong i would be grateful
cheers