C#.netSince each pixel of an image is stored as byte......... how can we retrieve/read each byte and do some operation on it....?<br/><br/>And  can we store image (pixels) in binary form (bytes) in an array...?<br/><br/><br/>if anybody knows please provide the code.© 2009 Microsoft Corporation. All rights reserved.Sat, 04 Jul 2009 08:53:11 Z5f38d21f-13d0-41ff-8e48-afebdae93298http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/5f38d21f-13d0-41ff-8e48-afebdae93298#5f38d21f-13d0-41ff-8e48-afebdae93298http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/5f38d21f-13d0-41ff-8e48-afebdae93298#5f38d21f-13d0-41ff-8e48-afebdae93298shraddhak99http://social.msdn.microsoft.com/Profile/en-US/?user=shraddhak99C#.netSince each pixel of an image is stored as byte......... how can we retrieve/read each byte and do some operation on it....?<br/><br/>And  can we store image (pixels) in binary form (bytes) in an array...?<br/><br/><br/>if anybody knows please provide the code.Fri, 03 Jul 2009 08:34:55 Z2009-07-03T08:34:55Zhttp://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/5f38d21f-13d0-41ff-8e48-afebdae93298#6a2ca286-aebc-484a-b8a5-b7fe0f307991http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/5f38d21f-13d0-41ff-8e48-afebdae93298#6a2ca286-aebc-484a-b8a5-b7fe0f307991litdevhttp://social.msdn.microsoft.com/Profile/en-US/?user=litdevC#.netAre you on the right forum, this is SmallBasic only?  Judging by your title C#.net, you might try a C# forum.<br/> <br/> If you are using SB, then color = GraphicsWindow.GetPixel(x,y) and GraphicsWindow.SetPixel(x,y,color), where color is an RGB byte (e.g. ffffff for white) may be used to manipulate the graphics window, but not an image that is not currently displayed.   You would have to display an image first (graphicsWindow.DrawImage or GraphicsWindow.DrawResizedImage) then manipulate the display directly, not the image.<br/>Fri, 03 Jul 2009 18:00:39 Z2009-07-03T18:00:39Z