I'm trying to replace System.Drawing in a project where I use LockBits():
var data = bitmap.LockBits(
new Rectangle(0, 0, clipWidth, clipHeight),
ImageLockMode.ReadWrite,
bitmap.PixelFormat);
Then I write to that bitmap using a native library. Is there any way to achive this with ImageSharp?
I'm trying to replace System.Drawing in a project where I use LockBits():
Then I write to that bitmap using a native library. Is there any way to achive this with ImageSharp?