swati agrawal

swati agrawal

  • NA
  • 20
  • 97.3k

Compress Image

Mar 28 2011 1:40 AM

Hi, i have an FileUplaod control. here people will select an image ad there is some code to store it in a folder within the project. For simplly storing there is no proble.

But the thing is i want to compress the Images size before saving it in the folder.

I want image size to compress in 30 kb or 40 kb .

Ex: if user post an image with 1mb , 2mb or more than 50 kb than i want it to compress  in specificied size.





Answers (2)