Uploading of images and resizing (scaling) of them is a very common utility application. Various applications for this function are - Photo thumbnails, profile photos, stock photograph images like Flickr, etc. The System.Drawing namespace provides a built-in thumbnail creation function, but here is a code snippet to resize images preserving its original aspect ratio, maintaining high quality, and limiting the image sizes within prescribed maximum values.
This article explains two concepts - 1. Uploadi... (more)