S
Sinora
I am trying to cahnge pixel value of a grayscale image using Bitmap object .
Each pixel is consists of 8 bits.
Bitmap bigim(720,480,PixelFormat8bppIndexed) ( I tried 8 instead
PixelFormat8bppIndexed)
I wanted to assign the values of each pixel using
bigim.SetPixel(x,y,integer value between 0 to 255)
This method did not work. I was wondering if anyone knows how to do that.
Each pixel is consists of 8 bits.
Bitmap bigim(720,480,PixelFormat8bppIndexed) ( I tried 8 instead
PixelFormat8bppIndexed)
I wanted to assign the values of each pixel using
bigim.SetPixel(x,y,integer value between 0 to 255)
This method did not work. I was wondering if anyone knows how to do that.