title: Write WPF output to image file
body: <p>Is there a way I can write the output of WPF say a canvas to a image file, jpg or the like.</p>
  
  <p>I want to use WPF to create a background for me as I want to use the
  BitmapEffects for a rectangle and also radius the corners.</p>
  
  <p>I want to use the bitmap in a webpage.</p>
  
  <p>Is this possible?</p>
  
  <p>Malcolm</p>