Best way to resize an image?



    Hi there,


    I'm wondering what the best way is to resize an Image or Bitmap?  I'm currently thinking about creating a new image and creating a graphics object on it and drawing the image from the old surface to the new surface using the DrawImage method of the Graphics class.  Is this OK or is there a better way?


    Thanks in advance,



    Monday, October 15, 2007 6:31 AM


  • This does the same thing with fewer words:

    ResizedBitmap = new Bitmap(OriginalBitmap, NewWidth, NewHeight)

    Monday, October 15, 2007 9:35 AM

All replies