title: Clipboard.SetImage with WPF canvas leaves clipboard empty for large images
body: <p>I'm rendering a WPF canvas to an image and sticking it on the clipboard.</p>
  
  <p>If the canvas is small (&lt; 900px square) it all works fine.</p>
  
  <p>I have a larger canvas (3000+px square) and the clipboard is empty (paste option disabled in photoshop/word etc)</p>
  
  <pre><code>var transform = canvas.LayoutTransform;
  canvas.LayoutTransform = null;
  
  var size = new Size(canvas.Width, canvas.Height);
  
  canvas.Measure(size);
  canvas.Arrange(new Rect(size));
  
  var renderBitmap = new RenderTargetBitmap((int) size.Width, (int) size.Height, 96d, 96d, PixelFormats.Pbgra32);
  renderBitmap.Render(canvas);
  
  canvas.LayoutTransform = transform;
  
  Clipboard.SetImage(renderBitmap);
  </code></pre>
  
  <p><strike>I've not found if there is a threshold size that causes this to break.</strike></p>
  
  <p>3140 x 1903 doesnt work, 3140 x 317 does</p>
  
  <p>Whats going on?</p>
  
  <p>Thanks</p>