We've been migrating a .NET 4.x application to .NET 8 and encountered a massive problem with System.Drawing.Bitmap. Our image processing was heavily dependent on graphic libraries, such as AForge. The AForge library uses System.Drawing.Bitmap and lockbits and manipulates the unmanaged memory of the Bitmap object.
My question: is there a wrapper for System.Drawing.Bitmap or is any effort being made to replicate the base functionality? Or, do any of Microsoft's suggested alternative libraries offer unmanaged (unsafe) access to the image memory that can be used with third-party libraries, such as AForge?
I understand Microsoft's movement on "a million bugs, etc., etc." with the mono implementation. But, thousands of libraries depend on basic System.Drawing.Bitmap functionality, which is only a tiny component of the whole System.Drawing namespace. It seems that the most popular components can be replicated to continue using the vast collection of libraries that people and companies have put effort into building.