如何在asp.net中裁剪图像以及如何在数据库中保存裁剪后的图像 [英] How to crop image in asp.net and how to save the cropped image in database

查看:70
本文介绍了如何在asp.net中裁剪图像以及如何在数据库中保存裁剪后的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要你的帮助.
我想裁剪图像,并想在同一页面上显示裁剪后的图像.......
请在这方面帮助我..

谢谢...

Hi,
I need a help from u..
I want to crop the image and I want to show the cropped image on the same page itself.......
Please help me in this regard..

Thank you...

推荐答案

Asp.Net不提供任何允许您在事物的客户端裁剪页面的功能.为此,您需要一个客户端解决方案,例如jQuery插件.

我最近使用过这一个,它确实可以治疗 [ Bob Powell的 [此处 [ ^ ].如果您Bing/Google对其进行搜索,则网络上有很多关于此主题的文章.

干杯.
Asp.Net doesn''t provide any functionality that would allow you to crop a page on the client side of things. For this, you''ll need a client-side solution, such as a jQuery plug in.

I''ve used this one recently and it worked a treat[^].

If you need to process the image further on the server side, check out Bob Powell''s [^] wealth of resources on image manipulation in .NET.

The answer to your other question, about saving the image to the database, can be found here[^]. There are lots of articles out on the web on this topic if you Bing/Google it.

Cheers.


http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing [ ^ ]


这篇关于如何在asp.net中裁剪图像以及如何在数据库中保存裁剪后的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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