save a high color Image as 256 color or fewer.

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.
 
B

Bytz

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
 

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

Top