save a high color Image as 256 color or fewer.

  • Thread starter Thread starter Mohammad
  • Start date Start date
M

Mohammad

Hello.
How I can write a program that save a high color image
as 256 color or fewer with .BMP format , just like
Microsoft Paint.
I want to write this Program with C# .NET , NOT with MFC .
Thank you.
 
Not a bad link! Though it's missing the palette generation and dithering
aspects that you'll need to get good images. You need a palette for 256
color and below, there are many different ways to create one like median
cut or using a "standard" palette...

Dithereing is a method of spreading the difference (error) from the actual
pixel value and the closest palette color to surrounding pixels. This has
the effect of reducing banding
 
Back
Top