Пример #1
0
 void Neg()
 {
     Negative = TQMG.NewImage(Original.Width, Original.Height);
     for (int y = 0; y < Original.Height; y++)
     {
         for (int x = 0; x < Original.Width; x++)
         {
             var Pix = Original.GetPixel(x, y);
             Negative.PutPixel(x, y, (byte)(255 - Pix.R), (byte)(255 - Pix.G), (byte)(255 - Pix.B), Pix.A);
         }
     }
 }