下载图像时调整图像大小 [英] resize image when downloading image

查看:83
本文介绍了下载图像时调整图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
i有一个图像工作室,我希望用户可以在下载时调整图像大小

怎么办?

解决方案

您可以使用相同的HttpHandler来调整图像大小并使用调整大小的图像来响应。


参考



http://tech.pro/tutorial/620/csharp-tutorial -image-editing-saving-cropping-and-resizing [ ^ ]



http://www.blackbeltcoder.com/Articles/graphics/creating-website-thumbnails-in-asp-net [ ^ ]

hi i have a image studio that I want to let can user resize image when downloading it
how can it?

解决方案

You can use HttpHandler for the same so as to resize the image and reponse ends with resized image.


Refer

http://tech.pro/tutorial/620/csharp-tutorial-image-editing-saving-cropping-and-resizing[^]

http://www.blackbeltcoder.com/Articles/graphics/creating-website-thumbnails-in-asp-net[^]


这篇关于下载图像时调整图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆