title: Working with bitmap in WPF
body: <p>Is there any sane way to work with bitmaps in WPF? I'd like similar functionality as <code>System.Drawing.Bitmap</code>: be able to load image from file and get and set the color of particular pixels.</p>
  
  <p>I know about <code>WriteableBitmap</code>, but I don't want to work with <code>Array</code>s of gods-know-what (I couldn't find that on <a href="http://msdn.microsoft.com/en-us/library/aa346816.aspx" rel="nofollow noreferrer">MSDN</a>), or pointers. I just want to read or write pixel, it shouldn't be that hard!</p>
  
  <p>I also know that I can <a href="https://stackoverflow.com/questions/94456/load-a-wpf-bitmapimage-from-a-system-drawing-bitmap">use Interop</a> to work with <code>System.Drawing.Bitmap</code> in WPF, but that's not nice either.</p>