title: Resize Webp images
body: <p>I had Converted <code>Jpg</code> to <a href="https://developers.google.com/speed/webp/" rel="nofollow noreferrer">Webp</a> But I want to resize the image.</p>
  
  <pre><code>using (Bitmap bitmap = new Bitmap(UploadName +jpgFileName))
  {
      using (var saveImageStream = System.IO.File.Open(webpFileName, FileMode.Create))
      {
          var encoder = new SimpleEncoder();
          encoder.Encode(bitmap, saveImageStream, 90);
      }
  }
  </code></pre>