2
Answers

Compress Image

swati agrawal

swati agrawal

13y
2.9k
1

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)