By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,663 Members | 1,273 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,663 IT Pros & Developers. It's quick & easy.

Saving BitMaps in VB.Net 2005

P: n/a
Will 2005 allow saving bitmaps containing >256 colors using the .save method?
--
Dennis in Houston
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
"Dennis" <De****@discussions.microsoft.com> schrieb:
Will 2005 allow saving bitmaps containing >256 colors using the .save
method?


Yes. Even .NET 1.0/1.1 support that.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

P: n/a
I get an error saying that colors >256 are not supported when I use

myBitMap.Save("c:\mybitmap")
--
Dennis in Houston
"Herfried K. Wagner [MVP]" wrote:
"Dennis" <De****@discussions.microsoft.com> schrieb:
Will 2005 allow saving bitmaps containing >256 colors using the .save
method?


Yes. Even .NET 1.0/1.1 support that.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

P: n/a
"Dennis" <De****@discussions.microsoft.com> schrieb:
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...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.