saving grayscale

  • Thread starter Thread starter RicercatoreSbadato
  • Start date Start date
R

RicercatoreSbadato

I'm using bmp.Save() and the bmp is in PixelFormat.Format8bppIndexed.
But when I open the image with Gimp, it tells me that the image is RGB
and not grayscale.
 
Try with PixelFormat.Format16bppGrayScale. I believe Format8bppIndexed is a
two-color bitmap.

I'm using bmp.Save() and the bmp is in PixelFormat.Format8bppIndexed.
But when I open the image with Gimp, it tells me that the image is RGB
and not grayscale.
 
It is not exactly. Format8bppIndexed isn't a binary image. U can use
256 colors..
 
As Bob Powell say the 16bppGrayscale is a broken format under GDI+.

Then I've no solution to create a GrayScale image. Where is the power
of .NET?
 
As Bob Powell say the 16bppGrayscale is a broken format under GDI+.

Then I've no solution to create a GrayScale image. Where is the power
of .NET?
 
Back
Top