title: How to re-size QRCode image without losing resolution?
body: <p>I'm generating a QR code using the QR code library "<a href="https://www.nuget.org/packages/MessagingToolkit.QRCode/" rel="nofollow">MessagingToolkit.QRCode.Codec</a>" but it's generating a large size QR code and I'm trying to resize it to 70x70px, however the generated image's resolution is not good. </p>
  
  <pre><code>protected void BtnPrint_Click(object sender, EventArgs e)
          {
              PrintDocument pd = new PrintDocument();
              pd.PrintPage += PrintPage;
              pd.Print();
          }
  
          private void PrintPage(object o, PrintPageEventArgs e)
          {
              QRCodeEncoder encoder = new QRCodeEncoder();
              String EmployeeId= this.Request.QueryString.Get("EmployeeId").ToString();
              Bitmap img = new Bitmap (encoder.Encode(EmployeeId), new Size(70,70));
  
  
              Point loc = new Point(100, 100);
              e.Graphics.DrawImage(img, loc);
          }
  </code></pre>
  
  <p>How can I resize this QRCode without losing the resolution ?</p>
  
  <p>EDIT: </p>
  
  <p>Is it possible to create the QRCode from the beginning with the required size ?</p>