/BitmapNet

A Bitmap library (think BitArray, BitVector32, or Bit Index, not bmp) written in C# with more functionality than the .NET default.

Primary LanguageC#MIT LicenseMIT

Bitmap.NET Build Status Code Coverage nuget downloads

A bitmap library (think BitArray, BitVector32, or Bit Index -- not bmp) written in C# with more functionality than the .NET library options.

Bitmap.NET runs on .NET Standard 2.0, supports arbitrary bitmap lengths, and supports the following operations:

  • Per-bit Get
  • Per-bit Set
  • Union with another bitmap
  • Intersection with another bitmap
  • Invert the bitmap
  • Set a range of bits to a value
  • Set all bits to a value
  • Efficiently get the set of all True bits

Look at the test for some simple examples.