Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to reduce the image size when user is uploaded original image in asp.net ,can you give one example on that...
Posted
Comments
Vani Kulkarni 26-Jun-12 0:39am    
Do you mean you need to compress the image size while saving ?
Vani Kulkarni 26-Jun-12 0:56am    
Please do not post other comments as a new question. You can always update your question using Improve Question widget.

 
Share this answer
 
I would recommend creating a handler that can re-size images for you on the fly and encode them in whatever format you like.. kind of like a thumbnail generator.This will cost CPU on the server but you can cache images and severely reduce bandwidth costs ETC. Let me see if I can find the link to a good article I read on something similar.

You can look at [this article] it isn't the one I had read but it has some info about how you can go about implementing this.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900