title: How to change foreground color for SVG images in WPF and c#
body: <p>We are trying to get bitmap from SVG but its not giving the exact co-ordinate to change the pixel color.Can anyone help me how to change the color for bitmap pixel/svg pixel in wpf.</p>
  
  <pre><code>WpfDrawingSettings wpfDrawingSettings = new WpfDrawingSettings { IncludeRuntime = false, TextAsGeometry = false, OptimizePath = true };
          StreamSvgConverter converter = new StreamSvgConverter(wpfDrawingSettings);
          MemoryStream ms = new MemoryStream();
          converter.Convert(str, ms);
  
  
          BitmapImage bitmap = new BitmapImage();
          bitmap.BeginInit();
          bitmap.StreamSource = ms;
          bitmap.CacheOption = BitmapCacheOption.OnLoad;
          bitmap.EndInit(); 
  </code></pre>