title: Load image from resource in xaml
body: <p>I have a xaml resource linked in this way</p>
  
  <pre><code>&lt;Window.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;ResourceDictionary Source="AudioPitchShiftStyle.xaml"/&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
  
      &lt;/ResourceDictionary&gt;
  
  &lt;/Window.Resources&gt;     
  </code></pre>
  
  <p>insite AudioPitchShiftStyle.xaml I have put this declaration</p>
  
  <pre><code>&lt;Image Source="img/play.png" x:Key="play" /&gt;
  </code></pre>
  
  <p>How can I achieve the ImageBitmap by code using the source key ?</p>