Answers for "change image pixel color c#"

C#
0

c# get pixel color from image

using System.Drawing;

Bitmap img = new Bitmap("*imagePath*");
for (int i = 0; i < img.Width; i++)
{
    for (int j = 0; j < img.Height; j++)
    {
        Color pixel = img.GetPixel(i,j);
    }
}
Posted by: Guest on August-11-2020

C# Answers by Framework

Browse Popular Code Answers by Language