开发者

asyncfileupload ajax control

I am using asyncfileupload ajax control and can successfully upload and save picture on server.

I need to do the following and not sure how:

  1. 开发者_C百科When user is in process of uploading, I only want them to see *.jpg *.gif and *.bmp files

  2. Once the user uploads their picture, how do I reduce the quality of the picture so it is less than 10 KB?

Env is VS 2008 C#

Thanks, Behrouz


See here for a perfect answer on scaling and covnerting images: High Quality Image Scaling Library

You will have to play with width/height and/or quality until you are below 10k.

René

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜