title: How do I save a BitmapImage from memory into a file in WPF C#?
body: <p>I can't find anything over this and need some help. I have loaded a bunch of images into memory as BitmapImage types, so that I can delete the temp directory that they were stored in. I have successfully done this part. Now I need to save the images to a different temp location and I can't figure out how to do this The images are contained in a:</p>
  
  <pre><code>Dictionary&lt;string, BitmapImage&gt;
  </code></pre>
  
  <p>The string is the filename. How do I save this collection to the new temp location? Thanks for any help!</p>