You cannot directly access the memory of an image. You should use the Write method of the WritablePixelCollection to save the pixels. Would you mind explaining why you need access to those pixels? There might be a method in Magick.NET that can already do what you need to do.
↧