ImageCropper For .Net

in Develop

这是一个基于.Net的图片裁剪控件,使用比较广泛,如Gravatar中的头像上传与裁剪功能的实现。
当然Gravatar并不是用的这个控件。
今天在codeproject中无意发现的,觉得不错,拿来与大家分享一下。


裁剪后

基本参数:
MaintainAspectRatio,bool型,是否固定宽高比例进行裁剪。
CroppedImageHeight,int型,裁剪后的图片高
CroppedImageWidth,int型,裁剪后的图片宽
JpegQuality,int型,裁剪后的图片质量
裁剪时直接调用ImageCropper的Crop()方法即可。

下载地址:
http://www.uushare.com/user/yibin/file/899549

5 Comments

5 Comments

  1. @Huerreson:
    不错啊

  2. @cloud:
    看过这篇Post,受益了。

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>