title: Remove all metadata from common image formats?
body: <p>I'm writing a service for a project that's going to handle our image processing. One such process is supposed to strip all metadata from the <code>byte[]</code> provided and return the same image as a <code>byte[]</code>.</p>
  
  <p>The method I'm currently working on involves always converting the image to a <code>Bitmap</code>, then converting it back to the original format and returning the data from a <code>MemoryStream</code>. </p>
  
  <p>I haven't been able to test it yet but something tells me I'm going to experience some quality loss.</p>
  
  <p>How can I remove all metadata from any image with a common format? </p>
  
  <p><code>(bmp, gif, png, jpg, icon, tiff)</code></p>
  
  <p>Not sure how I can narrow that down any further. Would be nice if I got some feedback regarding the downvotes.</p>