I have gray-scale raster image data from a camera. I want to display this data in my WPF application. I've used BitmapSource.Create(...) to create the image from the 'raw' data, and then displayed it in an Image control. Unfortunately, WPF interpolates the image, and the interpolation loses pixels, even when the display size and the image size are identical.
I've found an alternative: hosting a WinForms PictureBox control, which seems to render the bitmap without interpolation. This is workable but ugly.
Is there a WPF way to render a bitmap without the interpolation?