I want to manipulate pixels using byte arrays.
I use the memory stream function to write
the byte array and then get the image from the stream.
I know i can do this particular bit of code easily without the byte array but the whole point is that i need to be able to construct an image from an array of bytes for a project im doing.
can anyone help me please!!!!!!!!!!!!!!!
heres some code my problem is the 2nd to last line Image iq = Image.FromStream(st), it says invalid perameter used ;
Bitmap q = new Bitmap ("c:\\desktop1.bmp");
byte [] pixel = new byte [q.Height*q.Width] ;
for (int x=0; x