It seams to be related to the Pixelcollection.
If i clone the image it is working.
_PC = img.GetPixels();
MagickImage imgpreview = img.Clone();
picBoxPreview(imgpreview);
But i do not update the PixelCollection later, so it is working for me, but looks more like a workaround.
If i clone the image it is working.
_PC = img.GetPixels();
MagickImage imgpreview = img.Clone();
picBoxPreview(imgpreview);
But i do not update the PixelCollection later, so it is working for me, but looks more like a workaround.