Saving BitMaps in VB.Net 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Will 2005 allow saving bitmaps containing >256 colors using the .save method?
 
Dennis said:
Will 2005 allow saving bitmaps containing >256 colors using the .save
method?

Yes. Even .NET 1.0/1.1 support that.
 
I get an error saying that colors >256 are not supported when I use

myBitMap.Save("c:\mybitmap")
 
Dennis said:
I get an error saying that colors >256 are not supported when I use

myBitMap.Save("c:\mybitmap")

\\\
Imports System.Drawing.Imaging
..
..
..
Dim b As New Bitmap(100, 100, PixelFormat.Format24bppRgb)
b.Save("C:\foo.bmp", ImageFormat.Bmp)
b.Dispose()
///

.... works just fine...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top