title: Fastest way to deliver images via asp.net
body: <p>I am wondering which way is the fastest to deliver images via ASP.net:</p>
  
  <pre><code>//get file path
  string filepath = GetFilePath();
  Response.TransmitFile(f);
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>string filepath = GetFilePath();
  context.Response.WriteFile(f);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Bitmap bmp = GetBitmap()
  bmp.Save(Response.OutputStream);
  </code></pre>
  
  <p>or any other method you can think of</p>