convert bitmap to monochrome or black and white

sdlangers

Well-known member
Joined
Dec 3, 2002
Messages
118
hi,

i need to save a bitmap as a 2 color black and white bitmap using .net

if you load a bitmap in paintbrush, you can select save as monochrome and it saves it as a 2 color black and white image

Dim b As New Bitmap("test.bmp")

.. whats next?


how can i do this in .net code?

thanks!
 
sdlangers said:
hi,

i need to save a bitmap as a 2 color black and white bitmap using .net

if you load a bitmap in paintbrush, you can select save as monochrome and it saves it as a 2 color black and white image

Dim b As New Bitmap("test.bmp")

.. whats next?


how can i do this in .net code?

thanks!
hi,
for an explanation and code! look here

http://www.codeproject.com/cs/media/csharpgraphicfilters11.asp
 
Back
Top