Anyone got a better Bitmap/Image class?

The built in Bitmap class in C# is making me rage. I just want the bytes. To just get the bytes from Bitmap you have to pass a rectangle and lock bits and marshal.copy and on and on. It is crazy. Anyone got a nice lightweight bitmapclass where I can just Bitmap.Load(file) then byte[] bytes = bitmap.bytes ?

by jackmott via /r/csharp

Leave a Reply