title: Zoom image using delphi
body: <p>I am working with delphi. I have TImage, to which I assign a bitmap.  </p>
  
  <pre><code>imgmain.Picture.Bitmap := bmpMain;
  imgmain.Picture.Bitmap.PixelFormat := pf24bit;
  </code></pre>
  
  <p>imgmain is object of TImage and bmpMain is object of TBitmap  </p>
  
  <p>I want to zoom my image. I have one trackbar on my form and as I click on trackbar the image should get zoom. What should I do?<br>
  Thank You.  </p>
  
  <p><strong>Edit :</strong><br>
  I found some solution at <a href="http://www.swissdelphicenter.ch/en/showcode.php?id=968" rel="nofollow noreferrer">here</a> It works but it cut my image.</p>