Reduce color of a bitmap

From: Betschart Linus (linus[no-spam)
Date: 05/12/04


Date: Wed, 12 May 2004 13:00:25 +0200

Hello friends,

I want to reduce the color depth of a bitmap.

I read here: http://www.dotnet247.com/247reference/msgs/29/147842.aspx that
it's just possible with GIF Files, but I am not quiet sure about this
statement, because, if i use this sample code:
http://support.microsoft.com/?id=319061 (but save as BMP and not as GIF), it
works!
My problem now is, that it saves just in grayscale, not in colour!
Can anyone help me?

thx a lot in advance
LB

PS: the I started the same question in ...dotnet.framework.drawing, but
because I'm not quiet sure where I should post it, I do it also here



Relevant Pages

  • Reduce color of a bitmap
    ... so I want to reduce the color depth of a bitmap. ... it's just possible with GIF Files, but I am not quiet sure about this ... thx a lot in advance ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Stitching lots of images together?
    ... > pictureboxes will output) consist of a BITMAPFILEHEADER, ... then a load of bytes describing the actual pixels. ... The original files are GIF files. ... Save it as a bitmap. ...
    (microsoft.public.vb.general.discussion)
  • Re: coloring controls
    ... Jeevan wrote: ... > how do i get the buttons on my control colored.Is there a way.I also want ... > to now if i can run small gif files on the dialog.If possible provide me ... anything) set a bitmap for that button. ...
    (microsoft.public.vc.language)