I have very basic knowledge of ASP.net. I am using following script to resize and image, but the problem is it increases the disk volume of resized image to almost 4 times or original image.
Original Image: 1024 x 769px and Disk space: 135 KB
Resized Image: 600 x 380px and Disk space: 725KB
dim g1 as System.Drawing.Image = System.Drawing.Image.FromFile(txtGetImage)
height = g1.Height / (g1.Width / 600)
dim imgOutput1 as New Bitmap(g1, 600, height)
Any idea, any help will be greatly appriciated.