Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to convert Black and White image to Grayscale Image. Is there any way to convert it in C#?
Posted

Here is a tutorial on how to convert to Grayscale:

http://www.codersource.net/MicrosoftNet/CImageProcessing/TutorialonConvertingImagestoGrayscale.aspx[^]

Just be aware that a black/white image with only 2 colors will never be anything but that, even as a grayscale image. You can't add colors that aren't there from the beginning (well, perhaps if you use some kind of interpolation, but I've never heard of that).

It's like taking an image with a low resolution and try to make the resolution higher. You can do that, but the image won't get a better quality because of that.
 
Share this answer
 
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900