I need a little help with getting each pixel color from a image and adding it to a list<Color> ...and get that pixels position and add it to a list<Position>.
then I want to redraw a specific pixel color and position in a picturebox.
below is the code I have so far....I believe this gets all the pixles and all the positions of the pixles.....im not sure how to get what I have to draw a specific color and position to a picturebox......
any help would be appreciated
Thank You
InkedGFX
then I want to redraw a specific pixel color and position in a picturebox.
below is the code I have so far....I believe this gets all the pixles and all the positions of the pixles.....im not sure how to get what I have to draw a specific color and position to a picturebox......
any help would be appreciated
for (int x = 0; x < newBitmap.Width; x++) { for (int y = 0; y < newBitmap.Height; y++) { Color pixelColor = newBitmap.GetPixel(x, y); colorP.Add(pixelColor); pixelPos.Add(x); pixelPos.Add(y); } }
Thank You
InkedGFX