title: How to set images height and width in inches?
body: <p>I am trying to save an image from string. </p>
  
  <p>so I want to know how I can set image height and width in inches at the time of saving the image.</p>
  
  <p>my code follows for image saving :</p>
  
  <pre><code> private void Base64ToImage(string base64String)
      {
          Image fullSizeImg = null;
          byte[] imageBytes = Convert.FromBase64String(base64String);
          MemoryStream ms = new MemoryStream(imageBytes);
          fullSizeImg = Image.FromStream(ms, true);
          System.Drawing.Image.GetThumbnailImageAbort dummyCallBack = new System.Drawing.Image.GetThumbnailImageAbort(ThumbnailCallback);
          System.Drawing.Image thumbNailImg = fullSizeImg.GetThumbnailImage(700, 800, dummyCallBack, IntPtr.Zero);
          thumbNailImg.Save(ImagePath, System.Drawing.Imaging.ImageFormat.Png);
          fullSizeImg.Dispose();
          thumbNailImg.Dispose();
  
  
      }
  </code></pre>