title: Resizing Tiff Image increasing the file size using C#
body: <p>I am trying to change the resolution of my tiff file, it was successfully changed using the below code, but It was increasing my output filesize from 74kb to 828kb after drawing</p>
  
  <p>Code Used:</p>
  
  <pre><code>    public void Resize(string imageFile, string outputFile, int width,int height)
      {
          using (var srcImage = Image.FromFile(imageFile))
          {
              var newWidth = (int)(width);
              var newHeight = (int)(height);
  
              using (var newImage = new Bitmap(newWidth, newHeight))
              {
                  using (var graphics = Graphics.FromImage(newImage))
                  {           
                      graphics.SmoothingMode = SmoothingMode.AntiAlias;
  
                      graphics.InterpolationMode = InterpolationMode.NearestNeighbor;
                      graphics.PixelOffsetMode = PixelOffsetMode.None;
  
                      graphics.DrawImage(srcImage, new Rectangle(0, 0, newWidth, newHeight));
  
                      newImage.Save(outputFile,ImageFormat.Tiff);
                  }
              }
          }
      }
  </code></pre>