title: Image resizing in Magick.Net
body: <p>I am trying to resize image using Magick.Net. But the image I compressed has greater size and bitdepth of 32 where as original image has bitdepth of 2.I want to retain or reduce the bitdepth too. 
  Here is my code.</p>
  
  <pre><code>           var imageMacig = new MagickImage(filePath);
              //Percentage p = new Percentage(60);
              //imageMacig.Threshold(p); // 60 is OK 
              imageMacig.VirtualPixelMethod = VirtualPixelMethod.Transparent;
              imageMacig.Depth = 1;
              imageMacig.FilterType = FilterType.Quadratic;
              imageMacig.Transparent(MagickColor.FromRgb(0,0,0));
              imageMacig.Format = MagickFormat.Png00;
              imageMacig.Resize(newWidth, newHeight);
              imageMacig.Write(targetPath);
              imageMacig.Dispose();
              originalBMP.Dispose();
  </code></pre>