如何在Asp.Net中调整图像大小? [英] How Do I Resize Image In Asp.Net?

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

问题描述

在方案用户中将上传他的任何尺寸的图像,但我想重新调整大小图像160 * 160像素,而不是保存在图像文件夹中

感谢提前!

解决方案

请查看我过去的答案:

在vb.net中调整图像大小 [ ^ ],

阅读大文章流中的Tiff和JPEG文件(>(23000 x 23000)pix)。并实时显示部分内容。 [ ^ ]。



-SA


如果你想实现这个目标使用C#,请参阅:

C#:图像调整大小,转换并保存 [ ^ ]

在不损失质量的情况下调整imgae的大小

http://stackoverflow.com/questions/87753/resizing-an-image-without-losing-any-quality [ ^ ]



问候。

使用C#动态调整图像大小 [< a href =http://www.codeproject.com/Tips/550728/Resizing-image-dynamically-using-sharptarget =_ blanktitle =New Window> ^ ]


in scenario user will upload his image of any size but i want to re size image 160*160 pixels and than save in images folder
thanks in Advance!

解决方案

Please see my past answers:
resize image in vb.net[^],
Read Big Tiff and JPEG files (>(23000 x 23000) pix) in a stream. And display part of it to the screen in realtime.[^].

—SA


If you want to achieve this with C#,refer:
C#: Image resize, convert, and save[^]
resize imgae without losing quality
http://stackoverflow.com/questions/87753/resizing-an-image-without-losing-any-quality[^]

regards.


Resizing image dynamically using C#[^]


这篇关于如何在Asp.Net中调整图像大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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