Tag Archives: SetPixel

Use the Bitmap32 class to manipulate image pixels very quickly in C#

The following posts explain how you can build a Bitmap24 class to manipulate the pixels in 24-bit images very quickly. Use the Bitmap24 class to manipulate image pixels very quickly in C# Add GetPixel and SetPixel methods to the Bitmap24 … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , | 9 Comments

Add GetPixel and SetPixel methods to the Bitmap24 class in C#

This example adds GetPixel and SetPixel methods to the Bitmap24 class described in the post Use the Bitmap24 class to manipulate image pixels very quickly in C#. Unfortunately that class only allows you manipulate pixel values in a one-dimensional byte … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , | 1 Comment

Use the Bitmap24 class to manipulate image pixels very quickly in C#

The Bitmap class’s GetPixel and SetPixel methods let you easily manipulate image pixels. They’re easy to use, but they’re also relatively slow. This program inverts the pixels in an image several times. When you click the No Lock Bits button, … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , , | 5 Comments