适用于C#的类似Facebook的图像裁剪工具? [英] Facebook-like image cropping tool for C#?
本文介绍了适用于C#的类似Facebook的图像裁剪工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想调整用户上传到我程序中数据库的头像。我需要的是强制用户将他们的头像调整到指定的尺寸,是任何尺寸的正方形,如200x200或250x250,这必须像提供给用户的组件,以便他们可以裁剪并根据需要选择原始头像的一部分。有没有解决方案?
I want to resize avatars uploaded by users to the database in my program. What I need here is to force users to resize their avatar to specified dimension, to be a square of any size, like 200x200 or 250x250, this had to be like a component provided to users so they can crop and select a portion of the original avatar, as they wish. Is there any solutions?
推荐答案
看看这个链接
[ ^ ]
使用C#进行图像处理 [ ^ ]
have a look of this link
[^]
Image Processing using C#[^]
试试这个:)
使用C#在Asp.Net上传期间调整图像大小 [ ^ ]< - 参见页面2用于编码
上传和调整大小Aspx中的图片 [ ^ ]
Try this :)
Image resizing during upload in Asp.Net using C#[^] <--See Page 2 for coding
Upload and resize image in Aspx[^]
这篇关于适用于C#的类似Facebook的图像裁剪工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文