像 Facebook 一样裁剪图像
对于 Facebook 上的用户来说,它允许您上传图像用作头像,如果该图像太大,您可以将其拖动到容器中以设置裁剪的坐标。
谁能帮我在 c# ASP.NET 中实现此功能
For those that have been on facebook it allows you to upload an image to use as your avatar, and if that image is too large you can drag it around in a container to set the co-ordinates of the crop.
Can anyone Help me out to implement this functionality in c# ASP.NET
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
也许这会为您完成工作
http://webcropimage.codeplex.com/
用于编写您自己的图像裁剪器,研究一下它的源代码。
Probably this will do the job for you
http://webcropimage.codeplex.com/
For writing your own image cropper, study the source code of that.
这主要是客户端的。您可以查看类似 Jcrop 的内容。
This will be mostly client-side. You can take a look at something like Jcrop.
关于这个问题的最佳资源就在这里。
http:// /blog.mironabramson.com/blog/post/2009/04/Cropping-image-using-jQuery%2c-Jcrop-and-ASPNET.aspx
the best resource on this issue is here.
http://blog.mironabramson.com/blog/post/2009/04/Cropping-image-using-jQuery%2c-Jcrop-and-ASPNET.aspx
它没有准确提供问题所要求的内容,但我认为 Image Resizer 是您应该看看的东西。
http://www.imageresizing.net/
It does not provide exactly what the question asks for but I think Image Resizer is something you should look at.
http://www.imageresizing.net/